From 548e2e0054c0a17bef97e7a57ac0a85c9fcb2e28 Mon Sep 17 00:00:00 2001 From: Henry van Megen Date: Wed, 6 Nov 2019 15:28:17 +0100 Subject: [PATCH] sendmail-auth.conf: filter updated for longer mail IDs (up to 20, see gh-2562) --- config/filter.d/sendmail-auth.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/filter.d/sendmail-auth.conf b/config/filter.d/sendmail-auth.conf index a370eea2..752621f7 100644 --- a/config/filter.d/sendmail-auth.conf +++ b/config/filter.d/sendmail-auth.conf @@ -9,7 +9,8 @@ before = common.conf _daemon = (?:sendmail|sm-(?:mta|acceptingconnections)) -failregex = ^%(__prefix_line)s\w{14}: (\S+ )?\[(?:IPv6:|)\]( \(may be forged\))?: possible SMTP attack: command=AUTH, count=\d+$ +# "w{14,20}" will give support for IDs from 14 up to 20 characters long +failregex = ^%(__prefix_line)s\w{14,20}: (\S+ )?\[(?:IPv6:|)\]( \(may be forged\))?: possible SMTP attack: command=AUTH, count=\d+$ ignoreregex =