From 66778c53a61f9c09fa5d1c7bb3d2e8866f8a246c Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 18 Dec 2020 12:04:50 -0800 Subject: Added recognition for a non-compliant DSN from an unknown MTA. --- Mailman/Bouncers/SimpleMatch.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Mailman') diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py index 6de9a858..b7889d21 100644 --- a/Mailman/Bouncers/SimpleMatch.py +++ b/Mailman/Bouncers/SimpleMatch.py @@ -199,6 +199,10 @@ PATTERNS = [ (_c(r'wasn\'t able to deliver the following message'), _c(r'---Below this line is a copy of the message.'), _c(r'To: (?P[^\s@]+@[^\s@]+)')), + # From some unknown MTA + (_c(r'This is a delivery failure notification message'), + _c(r'The problem appears to be'), + _c(r'-- (?P[^\s@]+@[^\s@]+)')), # Next one goes here... ] -- cgit v1.2.3