summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/CookHeaders.py
diff options
context:
space:
mode:
authorbwarsaw2001-10-21 06:40:36 +0000
committerbwarsaw2001-10-21 06:40:36 +0000
commit54d48db6522cb10ffcfb7f639e01ebd62a8f08c8 (patch)
tree2a90a6c1624873afc6797742d434f4925508b488 /Mailman/Handlers/CookHeaders.py
parent959521a8920044a23f81cdc8d10d83060699ff66 (diff)
downloadmailman-54d48db6522cb10ffcfb7f639e01ebd62a8f08c8.tar.gz
mailman-54d48db6522cb10ffcfb7f639e01ebd62a8f08c8.tar.zst
mailman-54d48db6522cb10ffcfb7f639e01ebd62a8f08c8.zip
process(): If the list attribute include_rfc2369_headers is false,
then don't add the List-* headers.
Diffstat (limited to 'Mailman/Handlers/CookHeaders.py')
-rw-r--r--Mailman/Handlers/CookHeaders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Handlers/CookHeaders.py b/Mailman/Handlers/CookHeaders.py
index aaf264511..831999b82 100644
--- a/Mailman/Handlers/CookHeaders.py
+++ b/Mailman/Handlers/CookHeaders.py
@@ -135,7 +135,7 @@ def process(mlist, msg, msgdata):
# BAW: Some people really hate the List-* headers. It seems that the free
# version of Eudora (possibly on for some platforms) does not hide these
# headers by default, pissing off their users. Too bad. Fix the MUAs.
- if msgdata.get('_nolist'):
+ if msgdata.get('_nolist') or not mlist.include_rfc2369_headers:
return
# Pre-calculate
listid = '<%s.%s>' % (mlist.internal_name(), mlist.host_name)