aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2015-12-15 15:20:33 -0800
committerMark Sapiro <mark@msapiro.net>2015-12-15 15:20:33 -0800
commitab7cca3f215184ba6a331871869a5b48af9e78f7 (patch)
tree5589266eacc894153ec056582f029b5381eccb06
parent36097ea986f975fd20af2398f28e60670faf3293 (diff)
downloadmailman2-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 '')
-rwxr-xr-xMailman/Handlers/CalcRecips.py6
-rwxr-xr-xNEWS3
2 files changed, 9 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)
diff --git a/NEWS b/NEWS
index 367651ea..8da38132 100755
--- a/NEWS
+++ b/NEWS
@@ -22,6 +22,9 @@ Here is a history of user visible changes to Mailman.
Bug fixes and other patches
+ - Treat a poster's address which matches an equivalent_domains address as
+ a list member for the regular_exclude_ignore check. (LP: #1526550)
+
- Fixed an issue that sometimes left no white space following
subject_prefix. (LP: #1525954)