summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/Hold.py
diff options
context:
space:
mode:
authorbwarsaw1999-12-10 00:01:50 +0000
committerbwarsaw1999-12-10 00:01:50 +0000
commit8b65265c494a0f5ae8d0e5457764df7ea8603143 (patch)
treea6e681b9f46ebe97b886ba5b49cd444d1276520a /Mailman/Handlers/Hold.py
parent271f156b7e9024413a05dbf2d893e9c3ba6680ef (diff)
downloadmailman-8b65265c494a0f5ae8d0e5457764df7ea8603143.tar.gz
mailman-8b65265c494a0f5ae8d0e5457764df7ea8603143.tar.zst
mailman-8b65265c494a0f5ae8d0e5457764df7ea8603143.zip
Diffstat (limited to 'Mailman/Handlers/Hold.py')
-rw-r--r--Mailman/Handlers/Hold.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/Mailman/Handlers/Hold.py b/Mailman/Handlers/Hold.py
index 011fd369a..41c4c1925 100644
--- a/Mailman/Handlers/Hold.py
+++ b/Mailman/Handlers/Hold.py
@@ -136,8 +136,12 @@ def process(mlist, msg):
hold_for_approval(mlist, msg, TooManyRecipients)
# no return
#
- # implicit destination?
- if mlist.require_explicit_destination and not mlist.HasExplicitDest(msg):
+ # implicit destination? Note that message originating from the Usenet
+ # side of the world should never be implicitly destined
+ if mlist.require_explicit_destination and \
+ not mlist.HasExplicitDest(msg) and \
+ not getattr(msg, 'fromusenet', 0):
+ # then
hold_for_approval(mlist, msg, ImplicitDestination)
# no return
#