Saskatoon Linux Group | RecentChanges | Preferences

To do this in Debian Sarge, you need to install postfix-tls. In Etch, it seems to all be compiled in already. You will also need libsasl2-modules installed.

In /etc/postfix/main.cf add the following lines:

relayhost = smtp.yourisp.ca:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous

Then, in /etc/postfix/smtp_auth add the following line:

smtp.yourisp.ca  (tab)  username:password
(chmod it to 600 if you're paranoid about your smtp password.)

then, run the commands:

postmap smtp_auth
postfix reload
and try sending an email and watching the logs.

Saskatoon Linux Group | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited September 13, 2008 1:51 pm (diff)