Fwd: Re: telnet hangs on the sasl2 part

Alexander Dalloz ad+lists at uni-x.org
Mon Jun 5 06:05:21 EDT 2017


Am 05.06.2017 um 11:48 schrieb Roelof Wobben:
> I tried today with dovecot and I see the same problem.
> Everything works fine till I enable sasl_auth.
> 
> Somone still a idea ?
> 
> Roelof

Start from scratch.

Postfix and cyrus-sasl-lib are installed by default on CentOS 7.

Edit /etc/sasl2/smtpd.conf with

pwcheck_method: auxprop
mech_list: plain login

Create your /etc/sasldb2 running

saslpassd2 -u localhost roelof

And finally enable SMTP AUTH for Postfix by

postconf -e "smtpd_sasl_auth_enable=yes"
systemctl restart postfix

(Note: once finished these basics move on and enable SMTP AUTH only for 
submission and remove it from SMTP port 25.)

Alexander



More information about the Cyrus-sasl mailing list