diff options
| author | klm | 1998-04-28 22:40:38 +0000 |
|---|---|---|
| committer | klm | 1998-04-28 22:40:38 +0000 |
| commit | e608a91e7a2ec4c9baa2d26f6ddff246946ab496 (patch) | |
| tree | 726ecee2dabd08b18f8b573a2e488bc17b142b43 /Mailman/MailCommandHandler.py | |
| parent | accbefe666cbd36f81745599817752fe270547bb (diff) | |
| download | mailman-e608a91e7a2ec4c9baa2d26f6ddff246946ab496.tar.gz mailman-e608a91e7a2ec4c9baa2d26f6ddff246946ab496.tar.zst mailman-e608a91e7a2ec4c9baa2d26f6ddff246946ab496.zip | |
Include a few more likely prospects among invalid request senders.
Diffstat (limited to 'Mailman/MailCommandHandler.py')
| -rw-r--r-- | Mailman/MailCommandHandler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index 999a94808..01f999871 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.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 |
