summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/rfc_2369.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/handlers/rfc_2369.py')
-rw-r--r--src/mailman/handlers/rfc_2369.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/handlers/rfc_2369.py b/src/mailman/handlers/rfc_2369.py
index ea7b9e8dc..43eb30acd 100644
--- a/src/mailman/handlers/rfc_2369.py
+++ b/src/mailman/handlers/rfc_2369.py
@@ -78,7 +78,7 @@ def process(mlist, msg, msgdata):
# misnamed. RFC 2369 requires a value of NO if posting is not
# allowed, i.e. for an announce-only list.
list_post = ('<mailto:{0}>'.format(mlist.posting_address)
- if mlist.include_list_post_header
+ if mlist.allow_list_posts
else 'NO')
headers['List-Post'] = list_post
# Add RFC 2369 and 5064 archiving headers, if archiving is enabled.