diff options
author | Mark Sapiro <mark@msapiro.net> | 2009-02-14 14:20:46 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2009-02-14 14:20:46 -0800 |
commit | c9f258ab19f37ef792a8f8b15d09ec8db6b3f09e (patch) | |
tree | 7b3bf743eff1645736530a5cec197142feced1bc /Mailman | |
parent | 9f3dcf617c4b4b79a6d7b16668627f79f0636aab (diff) | |
download | mailman2-c9f258ab19f37ef792a8f8b15d09ec8db6b3f09e.tar.gz mailman2-c9f258ab19f37ef792a8f8b15d09ec8db6b3f09e.tar.xz mailman2-c9f258ab19f37ef792a8f8b15d09ec8db6b3f09e.zip |
Recognize a couple more bounces.
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Bouncers/Qmail.py | 3 | ||||
-rw-r--r-- | Mailman/Bouncers/SimpleMatch.py | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Mailman/Bouncers/Qmail.py b/Mailman/Bouncers/Qmail.py index 2c02c1ae..10da479b 100644 --- a/Mailman/Bouncers/Qmail.py +++ b/Mailman/Bouncers/Qmail.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2007 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -32,6 +32,7 @@ import email.Iterators # Other (non-standard?) intros have been observed in the wild. introtags = [ 'Hi. This is the', + 'Hi. The MTA program at', "We're sorry. There's a problem", 'Check your send e-mail address.', 'This is the mail delivery agent at', diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py index bd7124b6..67e3a7f8 100644 --- a/Mailman/Bouncers/SimpleMatch.py +++ b/Mailman/Bouncers/SimpleMatch.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998-2008 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2009 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -166,6 +166,10 @@ PATTERNS = [ (_c('- no such user here'), _c('There is no user'), _c('^(?P<addr>[^\s@]+@[^\s@]+)\s')), + # fastdnsservers.com + (_c('The following recipient.*could not be reached'), + _c('bogus stop pattern'), + _c('^(?P<addr>[^\s@]+@[^\s@]+)\s*$')), # Next one goes here... ] |