Jim Seymour:
> Hi All,
> 
> Each of the various servers I admin occasionally get inundated with
> things like
> 
>     Jan 13 07:33:06 jimsun postfix/submission/smtpd[25328]: warning:
>     unknown[59.95.95.239]: SASL LOGIN authentication failed:
>     UGFzc3dvcmQ6

This warning is produced by Postfix code, not by a SASL library.

> I want these to go to the auth log, rather than, or in addition to,
> the mail log.
> 
> Anybody know what is the syslog severity level and facility code
> attached to SASL auth errors?

Postfix uses the same facility (main.cf:syslog_facility) for all
syslog records.

With rsyslogd.conf you can route based on content.

:msg, contains, "SASL LOGIN"    /var/log/whatever
:msg, contains, "SASL LOGIN"    ~

This is based on information from the web, which is often incorrect.

        Wietse

Reply via email to