diff options
| author | Barry Warsaw | 2009-01-06 23:45:34 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-06 23:45:34 -0500 |
| commit | d3e2ba2707c99c0a444302b1f013131ea41b7eae (patch) | |
| tree | 3946d242ddda9adab74fb4cf1685319ca43e97ed /mailman/mta/postfix.py | |
| parent | 994d079ea50deb58b20c41e506e29278c3c93257 (diff) | |
| download | mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.gz mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.tar.zst mailman-d3e2ba2707c99c0a444302b1f013131ea41b7eae.zip | |
Diffstat (limited to 'mailman/mta/postfix.py')
| -rw-r--r-- | mailman/mta/postfix.py | 4 |
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 |
