Mercurial > p > roundup > code
diff roundup/mailgw.py @ 3173:f412ae175b4d maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 14 Feb 2005 05:56:00 +0000 |
| parents | e1da7b5b04ab |
| children | 79bcf944ceb8 |
line wrap: on
line diff
--- a/roundup/mailgw.py Mon Feb 14 05:51:14 2005 +0000 +++ b/roundup/mailgw.py Mon Feb 14 05:56:00 2005 +0000 @@ -72,7 +72,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.159.2.2 2005-02-14 02:55:30 richard Exp $ +$Id: mailgw.py,v 1.159.2.3 2005-02-14 05:55:20 richard Exp $ """ __docformat__ = 'restructuredtext' @@ -579,8 +579,9 @@ if message.getheader('x-roundup-loop', ''): raise IgnoreLoop - # detect Precedence: Bulk - if (message.getheader('precedence', '') == 'bulk'): + # detect Precedence: Bulk, or Microsoft Outlook autoreplies + if (message.getheader('precedence', '') == 'bulk' + or message.getheader('subject', '').lower().find("autoreply") > 0): raise IgnoreBulk # config is used many times in this method.
