summaryrefslogtreecommitdiff
path: root/src/mailman/pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/pipeline')
-rw-r--r--src/mailman/pipeline/decorate.py2
-rw-r--r--src/mailman/pipeline/docs/cook-headers.txt4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mailman/pipeline/decorate.py b/src/mailman/pipeline/decorate.py
index d71e05cdc..fd3d14e3a 100644
--- a/src/mailman/pipeline/decorate.py
+++ b/src/mailman/pipeline/decorate.py
@@ -204,7 +204,7 @@ def decorate(mlist, template, extradict=None):
real_name = mlist.real_name,
list_name = mlist.list_name,
fqdn_listname = mlist.fqdn_listname,
- host_name = mlist.host_name,
+ host_name = mlist.mail_host,
listinfo_page = mlist.script_url('listinfo'),
description = mlist.description,
info = mlist.info,
diff --git a/src/mailman/pipeline/docs/cook-headers.txt b/src/mailman/pipeline/docs/cook-headers.txt
index 834b140fa..cd2acaae2 100644
--- a/src/mailman/pipeline/docs/cook-headers.txt
+++ b/src/mailman/pipeline/docs/cook-headers.txt
@@ -199,7 +199,7 @@ set the ``List-ID`` header. Start by creating a new domain.
>>> from mailman.interfaces.domain import IDomainManager
>>> from zope.component import getUtility
>>> domain = getUtility(IDomainManager).add('mail.example.net')
- >>> mlist.host_name = 'mail.example.net'
+ >>> mlist.mail_host = 'mail.example.net'
>>> process(mlist, msg, {})
>>> print msg['list-id']
@@ -210,7 +210,7 @@ set the ``List-ID`` header. Start by creating a new domain.
>>> print msg['list-id']
My test mailing list <_xtest.mail.example.net>
- >>> mlist.host_name = 'example.com'
+ >>> mlist.mail_host = 'example.com'
>>> mlist.list_id = '_xtest.example.com'
Any existing ``List-ID`` headers are removed from the original message.