diff options
| author | bwarsaw | 2001-10-21 06:40:36 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-10-21 06:40:36 +0000 |
| commit | 54d48db6522cb10ffcfb7f639e01ebd62a8f08c8 (patch) | |
| tree | 2a90a6c1624873afc6797742d434f4925508b488 /Mailman/Handlers/CookHeaders.py | |
| parent | 959521a8920044a23f81cdc8d10d83060699ff66 (diff) | |
| download | mailman-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.py | 2 |
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) |
