On 2/24/2017 1:05 PM, James wrote:
> Very low priority question here...
> 
> I don't announce or accept AUTH on my public port 25 postfix smtpd
> service, before or after STARTTLS, yet there is always a constant
> trickle of probes that do attempt it.
> 
> On rare occasions, there are days-long concerted efforts from a wide
> array of source addresses.
> 
> It would be nice to have a little bit of simple logging for these
> (failed/rejected) AUTH attempts.
> 
> Basically, it would be nice to be able to quickly decide between "oh
> yeah, of course that's hopeless, ignore it" and "hmmm, that looks
> disturbing, I'd better dig into what's going on there".
> 
> I don't see any postfix config options related to this sort of
> thing.  (Well, almost, but smtpd_sasl_authenticated_header doesn't
> do any good in this situation.)
> 
> Am I missing something?
> 
> Thanks.
> 
>  - James


Current versions of postfix will log that AUTH was attempted, but do
not log what the client sends.  You can grep the logs for 'auth=0'
to see unsuccessful auth attempts.

postfix/smtpd[58629]: disconnect from unknown[192.168.0.33] ehlo=1
auth=0/1 commands=1/2



  -- Noel Jones

Reply via email to