On Mon, Jun 6, 2011 at 1:51 PM, Rony gnulinuxist@gmail.com wrote:
smtp_sender_dependent_authentication = yes sender_dependent_relayhost_maps = hash:/etc/postfix/sender_relay_map # ('emailid [isp_smtp]:25' lines one below the other for all users) smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl_password # ('emailid username:password' lines one below the other for all users) smtp_sasl_security_options = noanonymous relayhost = [smtp_of_isp]:25
The above configs are for the "client" side of your postfix setup.
You also need to add the sasl configs for postfix "server" in main.cf i.e.
smtpd_sasl_auth_enable = yes
and the associated parameters.
Please read http://www.postfix.org/SASL_README.html