From c9f258ab19f37ef792a8f8b15d09ec8db6b3f09e Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 14 Feb 2009 14:20:46 -0800 Subject: Recognize a couple more bounces. --- Mailman/Bouncers/Qmail.py | 3 ++- Mailman/Bouncers/SimpleMatch.py | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'Mailman/Bouncers') 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[^\s@]+@[^\s@]+)\s')), + # fastdnsservers.com + (_c('The following recipient.*could not be reached'), + _c('bogus stop pattern'), + _c('^(?P[^\s@]+@[^\s@]+)\s*$')), # Next one goes here... ] -- cgit v1.2.3