I'm making a GUI to configure in an easy way my mailserver. Anyway I had a look at both links and I've maked some changes:
####I've added this line to configure the encrypted SMTP session(TLS) smtpd_sasl_security_options = noanonymous smtpd_sasl_tls_security_options = noanonymous #Enabling TLS in the SMTP server smtpd_tls_security_level = may So now in the GUI I'll give the opportunity to choose the SMTP authentication (YES or NOT) and the result of that will change this line: smtpd_sasl_auth_enable = yes [or blank] About the encrypted connection, I guess that with the option 'smtpd_tls_security_level = may' I don't need to change nothing in the postfix configuration, so I don't need to add this feature in the GUI. Do you agree? Sorry for my questions, but I'm not a big expert of postfix and I'm trying to understand a bit better his behaviour... Thanks Michele