* On Sun Feb-27-2005 at 12:25:44 PM -0300, Francisco Ares said: [...] > I've installed postfix but I can't find what should I do to allow it to > use my user's password for my ISP smtp relay. > > I've already googled for it, found dozens of places, and now I am very > confused.
I remember trying to figure this one out as well. What you do is edit
/etc/postfix/main.cf and add a line like this:
relayhost = [your.isps.smtp.server]
In the same file also add these lines:
smtp_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/saslpass
Then edit/create the file /etc/postfix/saslpass and add this line:
your.isps.smtp.server username:password
Issue the command:
# postmap /etc/postfix/saslpass
Unless you want everyone on the system to have access to your password,
execute this as well:
# chmod 600 /etc/postfix/saslpass
Finally, you want to restart postfix to enable the change.
# /etc/init.d/postfix restart
I wrote this from memory and using grep on the files in /etc/postfix so
if I left something out I apologize!
--
Sami Samhuri
pgpq0w0TVzuzZ.pgp
Description: PGP signature
