How To Enable SASL Authenticated Email Relay In Postfix

Author: , December 17th, 2010

Below info copied from http://www.postfix.org/SASL_README.html#server_sasl_enable Make sure saslauthd is running first. Edit /etc/postfix/main.cf: smtpd_sasl_type = cyrus smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_security_options = noanonymous smtpd_sasl_authenticated_header = yes smtpd_recipient_restrictions = permit_sasl_authenticated {other options that were already there} # postfix reload To test (you supply the items in bold): % telnet server.example.com 25 … 220 server.example.com […]

How To Enable SASLAuthd

Author: , December 17th, 2010

Execute the following as root to enable at boot time: # ln -s /etc/init.d/saslauthd /etc/rc3.d/S97saslauthd Start it up manually: # /etc/init.d/saslauthd start Test saslauthd authentication via PAM: % testsaslauthd -s smtp -u {username} -p {password} 0: OK “Success.”