[Mailman-Users] Postfix and Mailman with virtual hosting
matt at solis.co.uk
Wed Aug 10 15:18:07 CEST 2005
I'm in need of some help about Postfix and Mailman : specifically
virtual hosting and integrating Postfix and Mailman
I'm got Postfix (2.15, from the Fedora Core 3 package) running with
virtual email hosts: this works fine, with the following in main.cf :
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
virtual_alias_maps = hash:/etc/postfix/virtual
(there's a lot of other stuff obviously - but i think these are the
I can receive mail on all the domains that point to the machine. At
the moment /etc/postfix/virtual is just set up to forward
postmaster@[virtual_domain] to root, and bounce everything else.
I have also succesfully set up Mailman (2.1.6 - compiled from
source), but without virtual hosting: everything is just running as
The problem is when I try to make the Mailman write virtual alias
maps for postfix. I added the following to the virtual_alias_maps
variable in main.cf :
and added the relavent domains to the
POSTFIX_STYLE_VIRTUAL_DOMAINS constant in mm_cfg.py. I
also added them with the add_virtualhost() function in the same file.
The problem is, when i run /usr/local/mailman/bin/genaliases, it
does not write the virtual-mailman and virtual-mailman.db as I think
it should. No error is reported, the files just aren't there. And further
to that, when the line: hash:/usr/local/mailman/data/virtual-mailman
is in main.cf, it breaks the virtual hosted email completely: even the
postmaster@[virtual_domain] addresses that should not be
affected by Mailman.
I'd really appreciate a few pointers, if any of you have time.
T: (0114) 258 5550
F: (0114) 258 5574
More information about the Mailman-Users