aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncers
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2020-04-25 20:14:40 -0700
committerMark Sapiro <mark@msapiro.net>2020-04-25 20:14:40 -0700
commit8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de (patch)
treefdd7c839f320085137f13262fa5a0fbfd4d30c84 /Mailman/Bouncers
parentd7ca020be472fd3cb589d3b04d85d2a5b2d05ff6 (diff)
downloadmailman2-8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de.tar.gz
mailman2-8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de.tar.xz
mailman2-8ec4dad9822f390a3e4a1fe7451ccc97f5a3d6de.zip
Updates to bounce recognition.
Diffstat (limited to 'Mailman/Bouncers')
-rw-r--r--Mailman/Bouncers/SimpleMatch.py4
1 files changed, 4 insertions, 0 deletions
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<addr>[^\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<addr>[^\s@]+@[^\s@]+)')),
# Next one goes here...
]