LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Postfix authenticate on forward to smtp server (http://www.linuxquestions.org/questions/linux-server-73/postfix-authenticate-on-forward-to-smtp-server-606527/)

LWillmann 12-13-2007 08:23 AM

Postfix authenticate on forward to smtp server
 
I have to have my postfix server forward all mail to my ISP's smtp server. They have instituted smtp authentication. How do I configure Postfix to authenticate with my ISP's smtp server so that I can get my mail sent properly? As of right now, all mail is being rejected.

Berhanie 12-14-2007 08:28 AM

Read this. You'd need a postfix compiled with Cyrus SASL.

digitalnerds 12-16-2007 08:09 PM

Code:

relayhost = isp.mail.server
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/isppasswd
smtp_sasl_security_options =

then you will need to create the /etc/postfix/isppasswd file with the content:


Code:

isp.mail.server    username:password
and hash it afterwards by:

Code:

postmap /etc/postfix/isppasswd

Regards
Andy


All times are GMT -5. The time now is 09:28 AM.