From a4f1b0ce9fb909f001680acf6ce6e5dd08365168 Mon Sep 17 00:00:00 2001 From: Nic Boet Date: Thu, 25 Jul 2024 13:57:46 -0500 Subject: [PATCH] tests for Postfix 3.9 SASL reason unavailable SASL auth failure message changed with Postfix 3.9 Include addtional test log https://github.com/vdukhovni/postfix/commit/17dbfb9b8b9b483a23ea84dcd272c6d4010ad74b Signed-off-by: Nic Boet --- fail2ban/tests/files/logs/postfix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fail2ban/tests/files/logs/postfix b/fail2ban/tests/files/logs/postfix index bd0daf55..6169c1e7 100644 --- a/fail2ban/tests/files/logs/postfix +++ b/fail2ban/tests/files/logs/postfix @@ -148,6 +148,9 @@ Jan 14 16:18:16 xxx postfix/smtpd[14933]: warning: host[192.0.2.5]: SASL CRAM-MD # failJSON: { "time": "2005-01-14T16:18:16", "match": true , "host": "192.0.2.5", "desc": "aggressive only" } Jan 14 16:18:16 xxx postfix/smtpd[14933]: warning: host[192.0.2.5]: SASL CRAM-MD5 authentication failed: Invalid authentication mechanism +# failJSON: { "time": "2004-11-04T09:11:01", "match": true , "host": "192.0.2.152", "desc": "reason unavailable" } +Nov 4 09:11:01 mail postfix/smtpd[1234]: warning: unknown[192.0.2.152]: SASL LOGIN authentication failed: (reason unavailable), sasl_username=admin + # --------------------------------------- # Test-cases of postfix DDOS mode: # ---------------------------------------