I've read through quite a few posts on this forum and no one else seems to have the issue I'm having. I can't even get csf to register the postfix sasl attacks.
Sep 8 19:43:55 li622-171 lfd[17033]: (mysaslmatch) Failed SASL login from 89.248.172.122 (NL/Netherlands/-): 3 in the last 3600 secs - *Blocked in csf* [LF_CUSTOMTRIGGER]
Feb 7 12:43:39 web postfix/smtpd[13401]: lost connection after AUTH from unknown[49.71.245.68]
Feb 7 12:43:39 web postfix/smtpd[13401]: disconnect from unknown[49.71.245.68]
Feb 7 12:43:39 web postfix/smtpd[15593]: connect from unknown[49.71.245.68]
Feb 7 12:43:43 web postfix/smtpd[13647]: warning: hostname walkerj2351.example.com does not resolve to address 91.200.12.232: Name or service not known
Feb 7 12:43:43 web postfix/smtpd[13647]: connect from unknown[91.200.12.232]
Feb 7 12:43:43 web postfix/smtpd[15593]: warning: unknown[49.71.245.68]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 7 12:43:43 web postfix/smtpd[15593]: lost connection after AUTH from unknown[49.71.245.68]
Feb 7 12:43:43 web postfix/smtpd[15593]: disconnect from unknown[49.71.245.68]
Feb 7 12:43:44 web postfix/smtpd[13401]: connect from unknown[49.71.245.68]
Feb 7 12:43:45 web postfix/smtpd[13647]: warning: unknown[91.200.12.232]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 7 12:43:45 web postfix/smtpd[13647]: lost connection after AUTH from unknown[91.200.12.232]
Feb 7 12:43:45 web postfix/smtpd[13647]: disconnect from unknown[91.200.12.232]
Feb 7 12:43:51 web postfix/smtpd[13401]: warning: unknown[49.71.245.68]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 7 12:43:52 web postfix/smtpd[15593]: connect from unknown[49.71.245.68]
Feb 7 12:43:52 web postfix/smtpd[13401]: lost connection after AUTH from unknown[49.71.245.68]
Feb 7 12:43:52 web postfix/smtpd[13401]: disconnect from unknown[49.71.245.68]
Feb 7 12:43:59 web postfix/smtpd[13647]: connect from mailsrv6.interactivebrokers.com[206.106.137.86]
Feb 7 12:43:59 web postfix/smtpd[13647]: Anonymous TLS connection established from mailsrv6.interactivebrokers.com[206.106.137.86]: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Feb 7 12:44:04 web postfix/smtpd[15593]: warning: unknown[49.71.245.68]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 7 12:44:04 web postfix/smtpd[15593]: lost connection after AUTH from unknown[49.71.245.68]
Feb 7 12:44:04 web postfix/smtpd[15593]: disconnect from unknown[49.71.245.68]
Feb 7 12:44:07 web postfix/smtpd[13401]: connect from unknown[49.71.245.68]
On my /etc/csf/csf.conf
CUSTOM10_LOG = "/var/log/maillog"
On my /usr/local/csf/bin/regex.custom.pm
if (($lgfile eq $config{CUSTOM10_LOG}) and ($line =~ /^\S+\s+\d+\s+\S+ \S+ postfix\/smtpd\[\d+\]: warning:.*\[(\d+\.\d+\.\d+\.\d+)\]: SASL [A-Za-z]*? authentication failed/)) {
return ("Failed SASL login from",$1,"mysaslmatch","3","25","600");
}