summaryrefslogtreecommitdiff
path: root/mailman/mta/postfix.py
diff options
context:
space:
mode:
authorBarry Warsaw2009-01-06 23:45:34 -0500
committerBarry Warsaw2009-01-06 23:45:34 -0500
commitd3e2ba2707c99c0a444302b1f013131ea41b7eae (patch)
tree3946d242ddda9adab74fb4cf1685319ca43e97ed /mailman/mta/postfix.py
parent994d079ea50deb58b20c41e506e29278c3c93257 (diff)
downloadmailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.gz
mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.zst
mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.zip
Diffstat (limited to 'mailman/mta/postfix.py')
-rw-r--r--mailman/mta/postfix.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/mta/postfix.py b/mailman/mta/postfix.py
index be7dc9b9b..da265fecf 100644
--- a/mailman/mta/postfix.py
+++ b/mailman/mta/postfix.py
@@ -98,13 +98,13 @@ class LMTP:
# len('-subscribe') + '@'.
longest = len(list_name + domain) + 10
print >> fp, """\
-{0}@{1:{3}}lmtp:{2.mta.lmtp_host}:{2.mta.lmtp_port}""".format(
+{0}@{1:{3}}lmtp:inet:{2.mta.lmtp_host}:{2.mta.lmtp_port}""".format(
list_name, domain, config,
# Add 1 because the bare list name has no dash.
longest + 1)
for destination in SUBDESTINATIONS:
print >> fp, """\
-{0}-{1}@{2:{4}}lmtp:{3.mta.lmtp_host}:{3.mta.lmtp_port}""".format(
+{0}-{1}@{2:{4}}lmtp:inet:{3.mta.lmtp_host}:{3.mta.lmtp_port}""".format(
list_name, destination, domain, config,
longest - len(destination))
print >> fp