diff options
Diffstat (limited to 'mailman/pipeline/cook_headers.py')
| -rw-r--r-- | mailman/pipeline/cook_headers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mailman/pipeline/cook_headers.py b/mailman/pipeline/cook_headers.py index 4cda42c81..ad4728be8 100644 --- a/mailman/pipeline/cook_headers.py +++ b/mailman/pipeline/cook_headers.py @@ -215,6 +215,8 @@ def process(mlist, msg, msgdata): # Add RFC 2369 and 5064 archiving headers, if archiving is enabled. if mlist.archive: for archiver in get_plugins('mailman.archiver'): + if not archiver.is_enabled: + continue headers['List-Archive'] = '<%s>' % archiver.list_url(mlist) permalink = archiver.permalink(mlist, msg) if permalink is not None: |
