From e608a91e7a2ec4c9baa2d26f6ddff246946ab496 Mon Sep 17 00:00:00 2001 From: klm Date: Tue, 28 Apr 1998 22:40:38 +0000 Subject: Include a few more likely prospects among invalid request senders. --- modules/mm_mailcmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/mm_mailcmd.py b/modules/mm_mailcmd.py index 999a94808..01f999871 100644 --- a/modules/mm_mailcmd.py +++ b/modules/mm_mailcmd.py @@ -1,6 +1,6 @@ """Process maillist user commands arriving via email.""" -__version__ = "$Revision: 473 $" +__version__ = "$Revision: 489 $" # Try to stay close to majordomo commands, but accept common mistakes. # Not implemented: get / index / which. @@ -59,7 +59,7 @@ class MailCommandHandler: mail = mm_message.IncomingMessage() subject = mail.getheader("subject") sender = string.lower(mail.GetSender()) - if sender in ['nobody', 'mailer-daemon', 'postmaster', + if sender in ['daemon', 'nobody', 'mailer-daemon', 'postmaster', 'orphanage', 'postoffice']: # This is for what are probably delivery-failure notices of # subscription confirmations that are, of necessity, bounced -- cgit v1.3.1