summaryrefslogtreecommitdiff
path: root/Mailman/Bouncers/SimpleMatch.py
diff options
context:
space:
mode:
authormsapiro2006-03-06 18:14:58 +0000
committermsapiro2006-03-06 18:14:58 +0000
commit187a92d7c5e18fb992f5a951075d4053519016c3 (patch)
treef2f1e6793c654adc529b9fdf124a07e137bd5abc /Mailman/Bouncers/SimpleMatch.py
parentd505e21bc2ead60d051c621f6fa4dd6cd741634a (diff)
downloadmailman-187a92d7c5e18fb992f5a951075d4053519016c3.tar.gz
mailman-187a92d7c5e18fb992f5a951075d4053519016c3.tar.zst
mailman-187a92d7c5e18fb992f5a951075d4053519016c3.zip
Updated SimpleWarning to return Stop. Updated SimpleMatch to catch a few more
Added some more test cases.
Diffstat (limited to 'Mailman/Bouncers/SimpleMatch.py')
-rw-r--r--Mailman/Bouncers/SimpleMatch.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py
index a530f36f3..c3749b4ae 100644
--- a/Mailman/Bouncers/SimpleMatch.py
+++ b/Mailman/Bouncers/SimpleMatch.py
@@ -95,6 +95,14 @@ PATTERNS = [
(_c('A message that you sent could not be delivered'),
_c('^--- The header of the original'),
_c('^(?P<addr>[^\s@]+@[^\s@:]+):')),
+ # thehartford.com
+ (_c('Delivery to the following recipients failed'),
+ _c("Bogus - there actually isn't anything"),
+ _c('^\s*(?P<addr>[^\s@]+@[^\s@]+)\s*$')),
+ # and another thehartfod.com/hartfordlife.com
+ (_c('^Your message'),
+ _c('^because:'),
+ _c('^\s*(?P<addr>[^\s@]+@[^\s@]+)\s*$')),
# Next one goes here...
]