From bfb7a608cb61c0829f003b85c0d3e7a3f5a4e0cc Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Sat, 13 Sep 2003 22:51:35 +0000 Subject: _addvirtual(): Steve Alexander's patch to include the "hostname IGNORED" line, which may be redundant, but doesn't seem to cause harm, and may help some sites. --- Mailman/MTA/Postfix.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Mailman/MTA/Postfix.py b/Mailman/MTA/Postfix.py index 929ed1b5d..5e9d38d09 100644 --- a/Mailman/MTA/Postfix.py +++ b/Mailman/MTA/Postfix.py @@ -136,10 +136,13 @@ def _addvirtual(mlist, fp): # Note that you should already have this virtual domain set up properly in # your Postfix installation. See README.POSTFIX for details. +# Set up Postfix-style virtual domains +%s\tIGNORED + # LOOP ADDRESSES START %s\t%s # LOOP ADDRESSES END -""" % (loopaddr, loopdest) +""" % (hostname, loopaddr, loopdest) # The text file entries get a little extra info print >> fp, '# STANZA START:', listname print >> fp, '# CREATED:', time.ctime(time.time()) -- cgit v1.3.1