telnet hangs on the sasl2 part

Roelof Wobben r.wobben at home.nl
Sun Jun 4 16:49:40 EDT 2017


Op 4-6-2017 om 14:45 schreef Robert:
> On 6/4/2017 2:18 AM, Roelof Wobben wrote:
>> Op 3-6-2017 om 21:21 schreef Alexander Dalloz:
>>> Am 03.06.2017 um 18:14 schrieb Roelof Wobben:
>>>> postconf -Mf :
>>>>
>>>> 587        inet  n       -       n       -       -       smtpd
>>>> pickup     unix  n       -       n       60      1       pickup
>>>> cleanup    unix  n       -       n       -       0       cleanup
>>>> qmgr       unix  n       -       n       300     1       qmgr
>>>> tlsmgr     unix  -       -       n       1000?   1       tlsmgr
>>>> rewrite    unix  -       -       n       -       - trivial-rewrite
>>>> bounce     unix  -       -       n       -       0       bounce
>>>> defer      unix  -       -       n       -       0       bounce
>>>> trace      unix  -       -       n       -       0       bounce
>>>> verify     unix  -       -       n       -       1       verify
>>>> flush      unix  n       -       n       1000?   0       flush
>>>> proxymap   unix  -       -       n       -       - proxymap
>>>> proxywrite unix  -       -       n       -       1 proxymap
>>>> smtp       unix  -       -       n       -       -       smtp
>>>> relay      unix  -       -       n       -       -       smtp
>>>> showq      unix  n       -       n       -       -       showq
>>>> error      unix  -       -       n       -       -       error
>>>> retry      unix  -       -       n       -       -       error
>>>> discard    unix  -       -       n       -       -       discard
>>>> local      unix  -       n       n       -       -       local
>>>> virtual    unix  -       n       n       -       -       virtual
>>>> lmtp       unix  -       -       n       -       -       lmtp
>>>> anvil      unix  -       -       n       -       1       anvil
>>>> scache     unix  -       -       n       -       1       scache
>>> You have removed the smtp service.
>>>
>>> smtp      inet  n       -       n       -       -       smtpd
>>>
>>> And your submission (port 587 service) is incomplete. Please review
>>> your master.cf and correct it.
>>>
>>> Your current problem is very likely just that you cannot connect to
>>> port 25 because of the fact that your remove the port 25 service. I
>>> don't see a reason why Postfix actually should complain about a
>>> misconfigured SASL. So make sure you correlate logged errors to the
>>> misconfiguration at a time.
>>>
>>> Alexander
>>>
>>>
>> Changed that back but still after I do telnet localhost 25 and then ehlo
>> localhost no respons at all
>> And I do not see any error messages in auth.log, messages or maillog
>>
>> Roelof
>>
> Also is it possible something else is running on port 25?
> as if smtpd was not running something was answering then not responding
>
> I have socklist to show me what is running on what port but I understand
> several distros don't install by default.
>
> type  port      inode     uid    pid   fd  name
> tcp  10025      13084       0    891   98  master
> tcp    587      13003       0    891   18  master
> tcp   2000      14346       0   1145   34  master
> tcp    465      13009       0    891   22  master
> tcp     25      12997       0    891   13  master
>
>
> Robert
>
>

I do not think so because when I disable the sasl part in the main 
config file of postfix I see a respons of the mail server.

Roelof



More information about the Cyrus-sasl mailing list