aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncers
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2020-12-18 12:04:50 -0800
committerMark Sapiro <mark@msapiro.net>2020-12-18 12:04:50 -0800
commit66778c53a61f9c09fa5d1c7bb3d2e8866f8a246c (patch)
tree425128fdcdbbd5c7708dc20b8ddf0e43eb57b361 /Mailman/Bouncers
parent9dd4dc9131506dff9dd8744b254b69f15d1a729c (diff)
downloadmailman2-66778c53a61f9c09fa5d1c7bb3d2e8866f8a246c.tar.gz
mailman2-66778c53a61f9c09fa5d1c7bb3d2e8866f8a246c.tar.xz
mailman2-66778c53a61f9c09fa5d1c7bb3d2e8866f8a246c.zip
Added recognition for a non-compliant DSN from an unknown MTA.
Diffstat (limited to '')
-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 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<addr>[^\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<addr>[^\s@]+@[^\s@]+)')),
# Next one goes here...
]