Postfix TLS and Config

Ive been trying to get TLS encryption working on my postfix email server, i got it all working but then tried to modify it so that it would accept both insecure and TLS connections as it was only accepting TLS connections.

Anytips on getting both TLS and none secure connections will be helpful as well.

Now i dont no what has gone wrong but Postfix wont load and i get this message wne trying to access it in webmin.

postfix: fatal: /etc/postfix/, line 14: missing ‘=’ after attribute name: “smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject”

Ive tried manualy editing the file and just cant seem to fix it. Here is the file.

May be you set one of the following in the Postfix configuration?

  • Reject plain-text logins

  • Enable TLS: Always?

Try to unset it.