Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mail server authentication for smart relay

Status
Not open for further replies.

ivioonsail

IS-IT--Management
Dec 8, 2005
1
US
I'm running Postfix on Debian and having difficulties making postfix send to the external SMTP server I need to use. I need to use plain authentication for the server, and I've set up my main.cf and my sasl_passwd, but it's still not liking it. I'm at a loss of how to make it relay to my smtp server.

In main.cf
==========
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = /etc/postfix/sasl_passwd
smtp_sasl_security_options =

In /etc/postfix/sasl_passwd
==========
mail.mysmtpserver.net username:password

Any ideas?
 
I don't know if this is always required, but all the documentation that I've seen specify a table type for the map file, as in:

smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

then, run "postmap sasl_passwd"

Otherwise, it looks the same as mine.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top