Dear Postfix Users,

I'd like to ask if there is a way to setup Postfix so 503 5.5.1 Error: authentication not enabled is logged?


Postfix SMTP server: errors from unknown[45.144.212.169]

Transcript of session follows.

 Out: 220 goniec.szczesnymb.pl ESMTP Uprzejmy Marcin Szczesny - Technologie
     Informacyjne
 In:  EHLO User
 Out: 250-goniec.szczesnymb.pl
 Out: 250-PIPELINING
 Out: 250-SIZE 102400000
 Out: 250-ETRN
 Out: 250-STARTTLS
 Out: 250-ENHANCEDSTATUSCODES
 Out: 250-8BITMIME
 Out: 250-DSN
 Out: 250 CHUNKING
 In:  AUTH LOGIN
 Out: 503 5.5.1 Error: authentication not enabled
 In:  QUIT
 Out: 221 2.0.0 Bye

Postfix SMTP server: errors from unknown[45.144.212.169]

Unfortunately for above session, log contains only:

Mar  6 08:13:34 goniec postfix/smtp/smtpd[75863]: connect from unknown[45.144.212.169] Mar  6 08:13:34 goniec postfix/smtp/smtpd[75863]: disconnect from unknown[45.144.212.169] ehlo=1 auth=0/1 quit=1 commands=2/3

The expected result would be like for the following session (at least line with IP and helo).

Postfix SMTP server: errors from unknown[141.98.9.68]

Transcript of session follows.

 Out: 220 goniec.szczesnymb.pl ESMTP Uprzejmy Marcin Szczesny - Technologie
     Informacyjne
 In:  ehlo WIN-CLJ1B0GQ6JP
 Out: 250-goniec.szczesnymb.pl
 Out: 250-PIPELINING
 Out: 250-SIZE 102400000
 Out: 250-ETRN
 Out: 250-STARTTLS
 Out: 250-ENHANCEDSTATUSCODES
 Out: 250-8BITMIME
 Out: 250-DSN
 Out: 250 CHUNKING
 In:  Rset
 Out: 250 2.0.0 Ok
 In:  Mail from:<[email protected]>
 Out: 250 2.1.0 Ok
 In:  RCPT to:<[email protected]>
 Out: 450 4.7.25 Client host rejected: cannot find your hostname, [141.98.9.68]
 In:  Quit
 Out: 221 2.0.0 Bye

Mar  5 23:24:23 goniec postfix/smtpd[18669]: connect from unknown[141.98.9.68] Mar  5 23:24:23 goniec postfix/smtpd[18669]: NOQUEUE: reject: RCPT from unknown[141.98.9.68]: 450 4.7.25 Client host rejected: cannot find your hostname, [141.98.9.68]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<WIN-CLJ1B0GQ6JP> Mar  5 23:24:23 goniec postfix/smtpd[18669]: disconnect from unknown[141.98.9.68] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5


Reason behind is script validating helo/ehlo and scoring IP addresses for temporary block.


Best regards,

Marcin Szczesny

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to