From bb2624102c8d3c63b6b3e8b56f88fb1507ead034 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 14 Jun 2008 21:30:07 -0700 Subject: Added bounce recognition for googlemail delayed warning --- Mailman/Bouncers/SimpleWarning.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Mailman/Bouncers') diff --git a/Mailman/Bouncers/SimpleWarning.py b/Mailman/Bouncers/SimpleWarning.py index 45012c16..34690625 100644 --- a/Mailman/Bouncers/SimpleWarning.py +++ b/Mailman/Bouncers/SimpleWarning.py @@ -1,4 +1,4 @@ -# Copyright (C) 2001-2007 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2008 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 @@ -49,6 +49,10 @@ patterns = [ (_c('Delivery attempts will continue to be made'), _c('.+'), _c('(?P.+)')), + # Googlemail + (_c('THIS IS A WARNING MESSAGE ONLY'), + _c('Message will be retried'), + _c(r'\s*(?P\S+@\S+)\s*')), # Next one goes here... ] -- cgit v1.2.3