summaryrefslogtreecommitdiff
path: root/src/mailman/mta/postfix.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/mta/postfix.py')
-rw-r--r--src/mailman/mta/postfix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/mta/postfix.py b/src/mailman/mta/postfix.py
index b52ce20a6..242325b9f 100644
--- a/src/mailman/mta/postfix.py
+++ b/src/mailman/mta/postfix.py
@@ -104,7 +104,7 @@ class LMTP:
# part. For postfix we need a dummy entry for the domain.
by_domain = {}
for mlist in getUtility(IListManager).mailing_lists:
- by_domain.setdefault(mlist.host_name, []).append(mlist)
+ by_domain.setdefault(mlist.mail_host, []).append(mlist)
print >> fp, """\
# AUTOMATICALLY GENERATED BY MAILMAN ON {0}
#