[Mailman-Developers] Mailman 2.1.2 doesn't work with postfix-style
virtual domains + patch
Steve Alexander
steve at z3u.com
Mon Sep 8 05:46:30 EDT 2003
Hi folks,
Mailman 2.1.2 writes out a "sendmail-style" virtual-mailman file rather
than a "postfix-style" virtual-mailman file.
I don't know whether this is what is intended, but it seems counter to
what I read in the README.POSTFIX file, and using the
POSTFIX_STYLE_VIRTUAL_DOMAINS setting.
The only difference between a sendmail-style file and a postfix-style
file is that the postfix-style one starts with a line like:
domain.tld IGNORED
Here's a patch that I'm using to make Mailman work with postfix-style
virtual domains.
--- Mailman/MTA/Postfix.py Mon Mar 31 22:49:43 2003
+++ /tmp/Postfix.py Mon Sep 8 10:35:40 2003
@@ -136,10 +136,12 @@
# Note that you should already have this virtual domain set up properly in
# your Postfix installation. See README.POSTFIX for details.
+# Hack by SteveA to make postfix-style virtuals work again
+%s IGNORED
# 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())
--
Steve Alexander
More information about the Mailman-Developers
mailing list