Re: help requested with postfix as smtp client + auth
Matthew Wilson wrote:
> Hi -
>
> I want to send out emails via my isp's smtp server. I added these lines
> to my /etc/postfix/main.cf:
>
> relayhost = smtp.sbcglobal.yahoo.com
>
> smtpd_sasl_auth_enable = yes
> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
>
> Then I created the /etc/postfix/sasl_passwd file:
>
> smtp.sbcglobal.yahoo.com xxx:xxxxxxx
>
> Then I restarted the postfix server.
>
> I tried to send out an email, and it looks like postfix is not even
> trying to do authentication. Here are some lines from
> /var/log/mail/info:
[...]
Classical mistake :-) Correct your "smtpd_sasl_auth_enable" to
"smtp_sasl_auth_enable" and it will work (if your postfix supports sasl).
Don't forget running "postmap sasl_passwd" in your shell before
restarting the server for creating a new postfix-database-file on your
sasl-account(s).
Hint: smtpd_..... is used for authentification for incoming requests.
|