Op 5-6-2017 om 13:02 schreef Alexander Dalloz:
Am 05.06.2017 um 12:22 schrieb Roelof Wobben:
Op 5-6-2017 om 12:05 schreef Alexander Dalloz:
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
The command saslpassd2 is not found. Also sasslpasswd2 is not found.
And I check on a fresh install and cyrus-sasl was not installed.
Roelof
I said cyrus-sasl-lib is installed as a base package on CentOS 7. And
that package ships /usr/sbin/saslpasswd2 (sorry for my typo saslpassd2).
Are you really running CentOS or is it some kind of crippled VPS
install of a provider who just claims it is CentOS?
I did all the steps you mentioned on a fresh install of Centos 7 on a
Hyper V box,
And still when I do telnet localhost 25 and then ehlo localhost I do not
see any respons.
Roelof