NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: postfix smpt auth no worthy mechs found
> On Thu, Jan 27, 2011 at 07:48:58PM -0800, queshaw%sonic.net@localhost wrote:
>> maps_find: smtp_sasl_passwd:
>> hash:/usr/pkg/etc/postfix/sasl_passwd(0,lock|fold_fix):
>> smtp.comcast.net:587 = <user>:<passwd>
>>
>> followed by no worthy mechs found.
>>
>> So, maybe postfix won't use port 587?
>
> No, that works fine for me. Please try this in "main.cf":
>
> relayhost = [smtp.comcast.net]:587
>
> And "/usr/pkg/etc/postfix/sasl_passwd" must look like this:
>
> [smtp.comcast.net]:587 <user>:<passwd>
>
> There must be in particular no equal sign in "sasl_passwd".
Thanks, I have tried various combinations:
smtp.comcast.net:587
smtp.comcast.net:submission
[smtp.comcast.net]:587
[smtp.comcast.net]:submission
in main.cf and sasl_passwd.
Contradicting the postfix sasl howto, if I specify the port in main.cf and
leave it off in sasl_passwd (with or without square brackets in both), I
no longer get the error message that smtp.comcast.net is not found.
main.cf:
relayhost = [smtp.comcast.net]:587
sasl_passwd:
smtp.comcast.net <user>:<passwd>
I run postmap hash and restart postfix. Then, (using submission or 587),
it logs:
...
Trusted TLS connection established to smtp.comcast.net[76.96.30.117]:587:
TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
...
maps_find: smtp_sasl_passwd:
hash:/usr/pkg/etc/postfix/sasl_passwd(0,lock|fold_fix): smtp.comcast.net =
<user>:<passwd>
smtp_sasl_passwd_lookup: host `smtp.comcast.net' user `<user>' pass
`<passwd>'
starting new SASL client
name_mask: noanonymous
smtp_sasl_authenticate: smtp.comcast.net[76.96.30.117]:587: SASL
mechanisms LOGIN PLAIN
warning: SASL authentication failure: No worthy mechs found
...
send attr reason = SASL authentication failed; cannot authenticate to
server smtp.comcast.net[76.96.30.117]: no mechanism available
...
status=deferred (SASL authentication failed; cannot authenticate to server
smtp.comcast.net[76.96.30.117]: no mechanism available)
Kendall
Home |
Main Index |
Thread Index |
Old Index