diff options
author | Mark Sapiro <mark@msapiro.net> | 2015-01-23 15:50:47 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2015-01-23 15:50:47 -0800 |
commit | 792407be592b8e7d523cb134a01b09101cbc2cad (patch) | |
tree | f66aaacb3c7781e490ea9c365510c75e46818f81 /Mailman/Handlers | |
parent | 0e3c1fbaf0c80ed865945a14e604954daaf80a6a (diff) | |
download | mailman2-792407be592b8e7d523cb134a01b09101cbc2cad.tar.gz mailman2-792407be592b8e7d523cb134a01b09101cbc2cad.tar.xz mailman2-792407be592b8e7d523cb134a01b09101cbc2cad.zip |
Implemented the equivalent domains feature for list posting/moderation.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Handlers/Moderate.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Handlers/Moderate.py b/Mailman/Handlers/Moderate.py index 225ee37f..dfc2c567 100644 --- a/Mailman/Handlers/Moderate.py +++ b/Mailman/Handlers/Moderate.py @@ -54,6 +54,12 @@ def process(mlist, msg, msgdata): for sender in msg.get_senders(): if mlist.isMember(sender): break + for sender in Utils.check_eq_domains(sender, + mlist.equivalent_domains): + if mlist.isMember(sender): + break + if mlist.isMember(sender): + break else: sender = None if sender: |