Discussion:
Postfix mailman and virtual domains
Ariën Huisken
2006-04-02 18:11:12 UTC
Permalink
Hello list,

I've been playing with mailman, but am confused how to deal with the
postix virtual domains.

The web frontend is no problem and mailman is running after creating
the list mailman (not shure why..). Initial messages are sent to the
creator of the list, but sending messages to the list won't work.

I use postfix with virtual_alias_maps and running TSL 2.2.

Should I add the aliases table of mailman in postix' main.cf like:
alias_maps = hash:/etc/postfix/aliases, hash:/home/mailman/data/aliases
or is there a other (better) way?

Maybe someone out there is willing to share a working config or give me
some hints?

Thanks.

--
Ariën Huisken
Ariën Huisken
2006-04-04 07:21:06 UTC
Permalink
Post by Ariën Huisken
Maybe someone out there is willing to share a working config or give
me some hints?
I don't have Mailman/Postfix running on my Trustix box, but I used
http://freemars.org/howto/mailman.html
You could probably adapt it - there doesn't really seem to be that
much Ubuntu-specific stuff in it.
Well it's depending on postfix-to-mailman.py as MTA and this is not
installed on TSL.

But, finally got it working. If anyone is interested, I can post the
configs or write a quick howto in the wiki.

Just two strange things in my config:

- The settings in mm_cfg.py seem to be totally ignored, I had to set my
site config in /usr/lib/mailman/Mailman/Default.py

- Postfix/Mailman complain about having not the correct GUID for the scripts:
Mailman mail-wrapper: Group mismatch error. Mailman expected the mail
wrapper script to be executed as group "mailman", but the system's mail
server executed the mail script as group "nobody".
I modified the Postfix main.cf and set default_privs = mailman (was nobody)
I don't know if this is the correct way, but it works.

--
Ariën Huisken

Loading...