SASL for user auth

New users please present your self here (no real names needed) so we can prevent spam bots.
Post Reply
neodg
Posts: 7
Joined: 28 Mar 2016 08:03

SASL for user auth

Post by neodg »

I am in the situation that i must configure the efa to send messages over tls with user authentication (username and password). So, port 587 with tls is not the problem, but the authentication.

Whats the easiest way to get this work?

sasl2 is installed up and running, but the auth is as pam configured.

I have changed this to shadow and the auth on efa was ok:

testsaslauthd -u username -p password
0: OK "Success."

but from client side (Thunderbird)

Feb 26 23:13:07 smarthost postfix/smtpd[1345]: Anonymous TLS connection established from 11.111.111.111.static.drei.at[11.111.111.111]: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb 26 23:13:07 smarthost postfix/smtpd[1345]: warning: SASL authentication failure: Password verification failed
Feb 26 23:13:07 smarthost postfix/smtpd[1345]: warning: 11.111.111.111.static.drei.at[11.111.111.111]: SASL PLAIN authentication failed: authentication failure

I have found much descriptions with sasl, but i wont destroy the system (or make to much changes). I think a little safe HowTo would be very helpfull.
Post Reply