From 8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 25 Apr 2020 20:14:40 -0700 Subject: Updates to bounce recognition. --- Mailman/Bouncers/SimpleMatch.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Mailman/Bouncers') diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py index 1c573e02..6de9a858 100644 --- a/Mailman/Bouncers/SimpleMatch.py +++ b/Mailman/Bouncers/SimpleMatch.py @@ -195,6 +195,10 @@ PATTERNS = [ (_c('Message could not be delivered to some recipients.'), _c('Message headers follow'), _c('Recipient: \[SMTP:(?P[^\s@]+@[^\s@]+)\]')), + # This one is from Yahoo but dosen't fit the yahoo recognizer format + (_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@]+)')), # Next one goes here... ] -- cgit v1.2.3