diff options
| author | bwarsaw | 2000-02-18 22:59:44 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-02-18 22:59:44 +0000 |
| commit | 284f433b4d5093472b6c89fa87b51ffd7253371e (patch) | |
| tree | a2b64603504346032b817be7676681a81894564f | |
| parent | 07eb957805b0a0adc135cc75ab2efcd3f5145185 (diff) | |
| download | mailman-284f433b4d5093472b6c89fa87b51ffd7253371e.tar.gz mailman-284f433b4d5093472b6c89fa87b51ffd7253371e.tar.zst mailman-284f433b4d5093472b6c89fa87b51ffd7253371e.zip | |
| -rw-r--r-- | Mailman/Handlers/Hold.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py index c2690e9eb..6fe05f020 100644 --- a/Mailman/Handlers/Hold.py +++ b/Mailman/Handlers/Hold.py @@ -119,7 +119,7 @@ def process(mlist, msg): # to list members. If not set, then only the members in posters are # allowed to post without approval. if mlist.member_posting_only: - posters = Utils.List2Dict(mlist.posters) + posters = Utils.List2Dict(map(string.lower, mlist.posters)) if not mlist.IsMember(sender) and \ not Utils.FindMatchingAddresses(sender, posters): # the sender is neither a member of the list, nor in the list of @@ -127,7 +127,7 @@ def process(mlist, msg): hold_for_approval(mlist, msg, NonMemberPost) # no return elif mlist.posters: - posters = Utils.List2Dict(mlist.posters) + posters = Utils.List2Dict(map(string.lower, mlist.posters)) if not Utils.FindMatchingAddresses(sender, posters): # the sender is not explicitly in the list of allowed posters # (which is non-empty), so hold the message |
