diff options
| author | Mark Sapiro | 2007-11-11 21:31:22 -0800 |
|---|---|---|
| committer | Mark Sapiro | 2007-11-11 21:31:22 -0800 |
| commit | 2b7304d722e9ca628d6550dbb024dfa78322e91f (patch) | |
| tree | c144353e8875b79065766d26da8c2a20747eee13 /Mailman/Bouncers/SimpleMatch.py | |
| parent | ddd08ca46bdc83dfb3995f0508a68b87e06ad68b (diff) | |
| download | mailman-2b7304d722e9ca628d6550dbb024dfa78322e91f.tar.gz mailman-2b7304d722e9ca628d6550dbb024dfa78322e91f.tar.zst mailman-2b7304d722e9ca628d6550dbb024dfa78322e91f.zip | |
Diffstat (limited to 'Mailman/Bouncers/SimpleMatch.py')
| -rw-r--r-- | Mailman/Bouncers/SimpleMatch.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py index cc0dd3225..2e9c23b13 100644 --- a/Mailman/Bouncers/SimpleMatch.py +++ b/Mailman/Bouncers/SimpleMatch.py @@ -101,7 +101,10 @@ PATTERNS = [ _c('^(?P<addr>[^\s@]+@[^\s@:]+):')), # thehartford.com (_c('Delivery to the following recipients failed'), - _c("Bogus - there actually isn't anything"), + # this one may or may not have the original message, but there's nothing + # unique to stop on, so stop on the first line of at least 3 characters + # that doesn't start with 'D' (to not stop immediately) and has no '@'. + _c('^[^D][^@]{2,}$'), _c('^\s*(?P<addr>[^\s@]+@[^\s@]+)\s*$')), # and another thehartfod.com/hartfordlife.com (_c('^Your message\s*$'), @@ -160,7 +163,7 @@ PATTERNS = [ _c('^-'), _c('\s(?P<addr>[^\s@]+@[^\s@]+)[\s,]')), # pla.net.py (MDaemon.PRO ?) - (_c('no such user here'), + (_c('- no such user here'), _c('There is no user'), _c('^(?P<addr>[^\s@]+@[^\s@]+)\s')), # Next one goes here... |
