View Single Post
Old 30th August 2006, 21:26
Rocky Rocky is offline
Senior Member
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts

Try the following:
Revert everything back to it's original form, then proceed with the following.

This is the SMTP-AUTH clear text method:

Postfix needs to know how to behave as a SASL client. Add the following lines anywhere you'd like in your /etc/postfix/

relayhost =
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpw
smtp_sasl_security_options =

If you already have those lines, then you're set, if not, add them. Make sure you don't have any duplicates.

Create a file called /etc/postfix/saslpw and add the following, using the syntax provided:

host idw

The host portion above must match what you used in the "relayhost" line in Something as follows: myid:mypw (your userid and password)

Save the file.

Hash the file.
[] postmap /etc/postfix/saslpw

Restart postfix
[] /etc/init.d/postfix restart

Once you restart Postfix, send a test message through it, and you should see a line in /var/log/mail log similar to:

to=< >,[], delay=1, status=sent (250 ok 1234567891 qp 12345)
Reply With Quote