telnet hangs on the sasl2 part

Roelof Wobben r.wobben at home.nl
Fri Jun 2 08:39:28 EDT 2017


Op 2-6-2017 om 13:07 schreef Robert:
> On 6/2/2017 1:31 AM, Roelof Wobben wrote:
>> Hello,
>>
>> 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 :
>>
>> 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
>>
>> Regards,
>>
>> Roelof
>>
> wonder if you are missing something...
>
> here is what I have working in main.cf
>
> ---
> smtpd_sasl_type = cyrus
> smtpd_sasl_path = smtpd
> smtpd_sasl_auth_enable = yes
> broken_sasl_auth_clients = yes
> smtpd_sasl_authenticated_header = yes
> smtp_sasl_security_options = noanonymous
> cyrus_sasl_config_path = /usr/lib/sasl2
> smtp_sasl_mechanism_filter = plain, login
> smtpd_sasl_local_domain = $mydomain
> ---
>
> your sasl2 library might be in different location
>

I tried what you have but still the same error.

I wonder if the mail/hostname can be a factor.

I use localhost but the mail server hostname is mail.srv.world
but when I use that I see that it uses the wrong ip .

Roelof



More information about the Cyrus-sasl mailing list