aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Bouncers/SimpleMatch.py
diff options
context:
space:
mode:
authormsapiro <>2006-03-06 18:12:36 +0000
committermsapiro <>2006-03-06 18:12:36 +0000
commit01568fe1041a0002160a962526c1203bf65d2fc3 (patch)
tree923c13c68695dfc3bba2b5e72f8b9e4ca79921f0 /Mailman/Bouncers/SimpleMatch.py
parent8150914806968df6a3cfd04dc74eed1882feac8b (diff)
downloadmailman2-01568fe1041a0002160a962526c1203bf65d2fc3.tar.gz
mailman2-01568fe1041a0002160a962526c1203bf65d2fc3.tar.xz
mailman2-01568fe1041a0002160a962526c1203bf65d2fc3.zip
Updated SimpleWarning to return Stop. Updated SimpleMatch to catch a few more
Added some more test cases.
Diffstat (limited to '')
-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 a530f36f..c3749b4a 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...
]