diff options
| author | cotton | 1998-10-12 12:47:12 +0000 |
|---|---|---|
| committer | cotton | 1998-10-12 12:47:12 +0000 |
| commit | 918014eb343a767f86db40d136f2f39c793b1a24 (patch) | |
| tree | 21b2acc2db39633476d2cf13488e5311643302ef /Mailman/MailCommandHandler.py | |
| parent | 617cab957347d5f6c9e39100408d940c28c3b406 (diff) | |
| download | mailman-918014eb343a767f86db40d136f2f39c793b1a24.tar.gz mailman-918014eb343a767f86db40d136f2f39c793b1a24.tar.zst mailman-918014eb343a767f86db40d136f2f39c793b1a24.zip | |
Diffstat (limited to 'Mailman/MailCommandHandler.py')
| -rw-r--r-- | Mailman/MailCommandHandler.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index 9ef4a5c42..7702eae82 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -84,6 +84,10 @@ class MailCommandHandler: mail = Message.IncomingMessage() subject = mail.getheader("subject") sender = string.lower(mail.GetSender()) + # + # shouldn't this be checking the username only part? + # why 'orphanage'? + # if sender in ['daemon', 'nobody', 'mailer-daemon', 'postmaster', 'orphanage', 'postoffice']: # This is for what are probably delivery-failure notices of @@ -433,7 +437,7 @@ class MailCommandHandler: digest = 0 done_digest = 1 elif string.lower(arg)[:8] == 'address=' and not address: - address = string.lower(arg)[8:] + address = Utils.LCDomain(arg[8:]) elif not password: password = arg else: @@ -445,7 +449,7 @@ class MailCommandHandler: password = "%s%s" % (Utils.GetRandomSeed(), Utils.GetRandomSeed()) if not address: - subscribe_address = string.lower(mail.GetSender()) + subscribe_address = Utils.LCDomain(mail.GetSender()) else: subscribe_address = address remote = mail.GetSender() |
