Re: Fwd: Re: telnet hangs on the sasl2 part

Alexander Dalloz <[email protected]>
Newsgroups gmane.comp.security.cyrus.sasl
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.