Postfix Config Problem W/ Tls
I have followed the guides on setting up postfix relay to my account at network solutions.
I added these to main.cf:
inet_interfaces = localhost
relayhost = [mail.mydomain.com]:587
smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_sasl_password_maps = hash:/etc/postfix/sasl_password smtp_use_tls = yes smtp_tls_CAfile = /etc/pki/tls/certs/sendmail.pem
The username and password are correct, and all these options work fine from thunderbird on a windows box in my local network.
I get no errors on postfix restart, but when I try to send an email from the CentOS box, I get this:
Apr 26 17:00:33 host postfix/smtp[10627]: C9C1D80075:
to=
(#5.5.1) (in reply to MAIL FROM command))
Why is tls not authenticating?
Under CentOS 5 I used sendmail, and it all worked just fine.
-chuck
One thought on - Postfix Config Problem W/ Tls
I changed my sasl_password file to look like this:
[mail.mydomain.com]:587 user@mydomain.com:password
then did postmap hash:/etc/postfix/sasl_password
It appears taking the <> from around user@mydomain.com:password has fixed the problem.
Also remembering to do
postmap hash:/etc/postfix/sasl_password
instead of
postmap /etc/postfix/sasl_password
thanks,
-chuck