On Thu, Apr 07, 2011 at 04:53:59PM +0200, Simon Brereton wrote:
> However, when I test I get a SASL auth error. If I switch my client back to
> port 25, there is no SASL error.
>
> Connecting to port 25
> Apr 7 10:00:30 donald postfix/smtpd[21028]: connect from
> 18.myvzw.com[174.252.18.98]
> Apr 7 10:00:31 donald postfix/smtpd[21028]: setting up TLS connection from
> 18.myvzw.com[174.252.18.98]
> Apr 7 10:00:32 donald postfix/smtpd[21028]: TLS connection established from
> 18.myvzw.com[174.252.18.98]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256
> bits)
> Apr 7 10:00:34 donald postfix/smtpd[21028]: disconnect from
> 18.myvzw.com[174.252.18.98]
Did you actually login here? I see no evidence of SASL, send a message and
show the logging.
> Connecting from port 587
> Apr 7 10:01:04 donald postfix/smtpd[21032]: connect from
> 18.myvzw.com[174.252.18.98]
> Apr 7 10:01:06 donald postfix/smtpd[21032]: setting up TLS connection from
> 18.myvzw.com[174.252.18.98]
> Apr 7 10:01:07 donald postfix/smtpd[21032]: TLS connection established from
> 18.myvzw.com[174.252.18.98]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256
> bits)
> Apr 7 10:01:09 donald postfix/smtpd[21032]: warning: SASL authentication
> failure: Password verification failed
> Apr 7 10:01:09 donald postfix/smtpd[21032]: warning:
> 18.myvzw.com[174.252.18.98]: SASL PLAIN authentication failed: authentication
> failure
>
Most likely, you are sending the wrong username or the wrong password.
> Why is your software bro.. What did I do wrong? :) I assumed that
> main.cf sasl parameters would apply to any port that used sasl.
>
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_local_domain = mydomain.net
> smtpd_sasl_security_options = noanonymous
>
> Let me know if you want the whole thing.
Are you using Cyrus SASL or Dovecot SASL? What backends are configured
for the PLAIN mechanism?
--
Viktor.