deoren:
> My question is very similar to Richard Laysell's question:
> 
> On 4/7/2014 8:42 AM, Richard Laysell wrote:
>  >
>  > Hello all,
>  >
>  > What is the best way of dealing with pests like this?
>  >
>  > Apr  7 12:52:40 polyphemus postfix/smtpd[24765]: lost connection after
>  > AUTH from unknown[78.188.45.153]
>  > Apr  7 12:52:41 polyphemus postfix/smtpd[9398]: lost connection after
>  > AUTH from unknown[78.188.45.153]

fail2ban or equivalent. 

> If I enable the options for 'notify_classes' then I'll get a Postmaster 
> email which contains the server response to the client:
> 
> 503 5.5.1 Error: authentication not enabled

So, why do you worry about this, given that AUTH is not enabled?

> Can I enable logging that message for the client, or maybe just the '503 
> 5.5.1' portion of it?

No. Logging bad commands is unsafe - the volume of logging can
easily exceed the network bandwidth. Adding a logging option for
individual Postfix responses would be a lot of work for little
benefit.

        Wietse

Reply via email to