Translations of this page?:

To use an external SMTP server, follow this manual:

1.) Edit main.cf

Open /etc/postfix/main.cf and add this lines:

 
relayhost = smtp.domain.tld
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = plain, login

2.) Edit sasl_passwd

Open /etc/postfix/sasl_passwd and add this:

 
smtp.domain.tld username:password

3.) Run postmap command and restart postfix

Run this line:

 
# postmap hash:/etc/postfix/sasl_passwd

Now, restart postfix

 
# /etc/init.d/postfix restart

Important: SMTP server like smtp.googlemail.com don't work!

 
howto/mail/use_a_external_smtp_server.txt · Last modified: 2008/06/25 09:32 (external edit)
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

| All rights reserved : isp-control.net |