On Mon, 2010-08-30 at 22:56 +1000, Jean-Yves Avenard wrote: > Hi there. > Moving from sendmail to a macos 10.6 server that ships with postfix.. > There are a few things that I'm trying to replicate from sendmail into > postifx, but I'm not having much luck. > Problems: > 2- When using a non encrypted connection , only accept the CRAM-MD5 > and Kerberos authentication methods > 3- When using encrypted connection (via TLS or SSL), accept LOGIN, > PLAIN, Kerberos and CRAM-MD5 authentication methods.
<http://www.postfix.org/SASL_README.html#server_sasl_enable> "A separate parameter controls Postfix SASL mechanism policy during a TLS-encrypted SMTP session. The default is to copy the settings from the unencrypted session:" smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_tls_security_options = noanonymous See <http://www.postfix.org/postconf.5.html#smtpd_sasl_security_options> for list of the available documentation. HINT: The Postfix documentation is rather crazy, you need to just keep-on-a-clicking till you find the option the detail you need just so happens to be listed under. And be prepared to *constantly* be accused by members of this list that you are lazy/incompetent/illiterate and didn't look at the documentation. > 4- I have added in sendmail a very simple rule allowing to create > dummy email address such as: > reg-username-ser...@domain.com > this is equivalent to usern...@domain.com I think using plussed addresses would be easier, and is a generally recognized standard. Otherwise perhaps some kind of regular expression rewrite?