Re: telnet hangs on the sasl2 part
Roelof Wobben <[email protected]>
| Newsgroups | gmane.comp.security.cyrus.sasl |
|---|---|
| Message-ID | <[email protected]> |
Op 2-6-2017 om 09:15 schreef Roelof Wobben: > Op 2-6-2017 om 09:01 schreef Dan White: >> On 06/02/17 08:31 +0200, Roelof Wobben wrote: >>> Hello, >>> >>> I have this in my main.cf : >>> >>> smtpd_sasl_path = smtpd >>> smtpd_sasl_auth_enable = yes >>> >>> in my sasl2 config file I have this : >>> >>> pwcheck_method = auxprop >>> auxprop_plugin = sasldb2 >>> mech_list = plain login cram-md5 digest-md5 ntlm >>> >>> But still when I do telnet localhost 25 and then ehlo localhost I >>> see no respons what so ever. >>> >>> On the mailllog I see these errors : <br> >>> >>> Jun 1 18:07:11 localhost postfix/smtpd[9650]: warning: SASL >>> per-process initialization failed: error when parsing configuration >>> file >>> Jun 1 18:07:11 localhost postfix/smtpd[9650]: fatal: SASL >>> per-process initialization failed >>> Jun 1 18:07:12 localhost postfix/master[2315]: warning: process >>> /usr/libexec/postfix/smtpd pid 9650 exit status 1 >>> Jun 1 18:07:12 localhost postfix/master[2315]: warning: >>> /usr/libexec/postfix/smtpd: bad command startup -- throttling >>> Jun 1 18:08:12 localhost postfix/smtpd[9652]: warning: SASL >>> per-process initialization failed: error when parsing configuration >>> file >>> Jun 1 18:08:12 localhost postfix/smtpd[9652]: fatal: SASL >>> per-process initialization failed >>> Jun 1 18:08:13 localhost postfix/master[2315]: warning: process >>> /usr/libexec/postfix/smtpd pid 9652 exit status 1 >>> Jun 1 18:08:13 localhost postfix/master[2315]: warning: >>> /usr/libexec/postfix/smtpd: bad command startup -- throttling >>> Jun 1 18:09:13 localhost postfix/smtpd[9653]: warning: SASL >>> per-process initialization failed: error when parsing configuration >>> file >>> Jun 1 18:09:13 localhost postfix/smtpd[9653]: fatal: SASL >>> per-process initialization failed >>> Jun 1 18:09:14 localhost postfix/master[2315]: warning: process >>> /usr/libexec/postfix/smtpd pid 9653 exit status 1 >>> Jun 1 18:09:14 localhost postfix/master[2315]: warning: >>> /usr/libexec/postfix/smtpd: bad command startup -- throttling >>> Jun 1 18:11:09 localhost postfix/postfix-script[1540]: starting the >>> Postfix mail system >>> Jun 1 18:11:09 localhost postfix/master[1542]: daemon started -- >>> version 2.10.1, configuration /etc/postfix >>> >>> The user of the sasldb2 is postfix:root >>> What can be the culprit here? >>> I know I have to use tls and encrypted passwords but thet is not >>> discussed yet in the postfix documentation that I follow. I follow >>> this page : http://www.postfix.org/SASL_README.html >> >> The 'warning: SASL per-process initialization failed' is a postfix >> error, >> indicating a likely configuration problem within postfix. >> >> See auth.debug syslog entries for any cyrus sasl errors. >> > > > Bummer, on the postfix ML they say it a cyrsus-sasl error. > Can someone give me a hint how I can search for this. > > I tried grep "auth.debug" /var/log/messages and grep > "auth.debug" dmesg and looked at the journalctl but no entries are > found. > > Roelof I think the error were made because saslauthd was not running. But still when I do telnet localhost 25 I do not see any output of the command on my centos 7 machine. The firewall is disabled. Roelof