diff options
author | Mark Sapiro <mark@msapiro.net> | 2015-12-15 15:20:33 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2015-12-15 15:20:33 -0800 |
commit | ab7cca3f215184ba6a331871869a5b48af9e78f7 (patch) | |
tree | 5589266eacc894153ec056582f029b5381eccb06 /Mailman/Handlers | |
parent | 36097ea986f975fd20af2398f28e60670faf3293 (diff) | |
download | mailman2-ab7cca3f215184ba6a331871869a5b48af9e78f7.tar.gz mailman2-ab7cca3f215184ba6a331871869a5b48af9e78f7.tar.xz mailman2-ab7cca3f215184ba6a331871869a5b48af9e78f7.zip |
Treat a poster's address which matches an equivalent_domains address as
a list member for the regular_exclude_ignore check.
Diffstat (limited to 'Mailman/Handlers')
-rwxr-xr-x | Mailman/Handlers/CalcRecips.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Handlers/CalcRecips.py b/Mailman/Handlers/CalcRecips.py index 0680bfb1..069c88a8 100755 --- a/Mailman/Handlers/CalcRecips.py +++ b/Mailman/Handlers/CalcRecips.py @@ -184,6 +184,12 @@ def do_exclude(mlist, msg, msgdata, recips): for sender in msg.get_senders(): if slist.isMember(sender): break + for sender in Utils.check_eq_domains(sender, + slist.equivalent_domains): + if slist.isMember(sender): + break + if slist.isMember(sender): + break else: continue srecips = set([slist.getMemberCPAddress(m) |