summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/Handlers/Hold.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index a3aab93df..d9a57db82 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -123,6 +123,11 @@ def process(mlist, msg, msgdata):
if not sender or sender[:len(listname)+6] == adminaddr:
sender = msg.get_sender(use_envelope=0)
#
+ # Possible administrivia?
+ if mlist.administrivia and Utils.is_administrivia(msg):
+ hold_for_approval(mlist, msg, msgdata, Administrivia)
+ # no return
+ #
# Is the poster in the list of explicitly forbidden posters?
if len(mlist.forbidden_posters):
forbiddens = Utils.List2Dict(mlist.forbidden_posters)
@@ -182,11 +187,6 @@ def process(mlist, msg, msgdata):
hold_for_approval(mlist, msg, msgdata, ImplicitDestination)
# no return
#
- # Possible administrivia?
- if mlist.administrivia and Utils.is_administrivia(msg):
- hold_for_approval(mlist, msg, msgdata, Administrivia)
- # no return
- #
# Suspicious headers?
if mlist.bounce_matching_headers:
triggered = mlist.hasMatchingHeader(msg)