OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Route outgoing through ISP's server

jantmanverizon.net
Date: Sat Dec 02 2006 - 12:13:04 CST


Hello,

I have Postfix operational on a SuSE Linux box at my home (broadband fiber connection). Being that it is a dynamic IP connection, I have to route outgoing mail through my ISP's (Verizon) mailserver. The server requires authentication.

I have the routing setup right, and tried to set it up with Cyrus SASL, but I am still getting Authentication needed errors.

I was a bit confused by the SASL configuration, as I ONLY want outgoing authentication, not incoming. What needs to be configured for SASL to provide outgoing authentication?

I have the following in my main.cf file under /etc/postfix:

relayhost = outgoing.verizon.net
smtpd_sasl_local_domain = $myhostname
#smtpd_sasl_security_options = noanonymous
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd

(I also tried this last line with hash:/etc/postfix/sasl_passwd.db but it made no difference).

and if I run postmap -q verizon.net hash:sasl_passwd I get the correct user:password output.

Thank You for any help,
Jason Antman