From fff53e1d722d66336a204569a5f7a4daebacb72c Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Fri, 20 Feb 2009 14:22:04 -0800 Subject: Recognize a couple more bounces. --- Mailman/Bouncers/SimpleMatch.py | 4 ++++ Mailman/Bouncers/SimpleWarning.py | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'Mailman') diff --git a/Mailman/Bouncers/SimpleMatch.py b/Mailman/Bouncers/SimpleMatch.py index 67e3a7f8..a6a952a2 100644 --- a/Mailman/Bouncers/SimpleMatch.py +++ b/Mailman/Bouncers/SimpleMatch.py @@ -170,6 +170,10 @@ PATTERNS = [ (_c('The following recipient.*could not be reached'), _c('bogus stop pattern'), _c('^(?P[^\s@]+@[^\s@]+)\s*$')), + # lttf.com + (_c('Could not deliver message to'), + _c('^\s*--'), + _c('^Failed Recipient:\s*(?P[^\s@]+@[^\s@]+)\s*$')), # Next one goes here... ] diff --git a/Mailman/Bouncers/SimpleWarning.py b/Mailman/Bouncers/SimpleWarning.py index 34690625..ab8d6aa2 100644 --- a/Mailman/Bouncers/SimpleWarning.py +++ b/Mailman/Bouncers/SimpleWarning.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2008 by the Free Software Foundation, Inc. +# Copyright (C) 2001-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 @@ -53,6 +53,10 @@ patterns = [ (_c('THIS IS A WARNING MESSAGE ONLY'), _c('Message will be retried'), _c(r'\s*(?P\S+@\S+)\s*')), + # RS ver 1.0.95vs ? - see comments for MessageSwitch + (_c('We will continue to try to deliver'), + _c('.+'), + _c('(?P.+)')), # Next one goes here... ] -- cgit v1.2.3