From 54d48db6522cb10ffcfb7f639e01ebd62a8f08c8 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sun, 21 Oct 2001 06:40:36 +0000 Subject: process(): If the list attribute include_rfc2369_headers is false, then don't add the List-* headers. --- Mailman/Handlers/CookHeaders.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.3.1