OpenBrainstem Mailman Configuration Fixed

Linux, Open Source Add comments

I post this on my blog cause Peregrine doesn’t take comments unless I’m “logged on” and I had it all typed up.
1) I thought you got the wordpress/https/smiley bug fixed. :)

2) I think there is a better way to do this mailman setup…

a) Alias with Mailman:
################
The output of /usr/lib/mailman/bin/genaliases depends on the value of the `MTA’ variable in your mm_cfg.py. If you have Postfix there, it makes a file called /etc/mailmain/alias. I think it also runs postmap on it.

Then in your main.cf you would add “alias_database = hash:/etc/aliases, hash:/etc/mailman/aliases.” This way, Mailman takes care of its own aliases. Make a new list - it just works!

b) Going Virtual:
################
If they are virtual domains then you have to take the extra step of adding them to the mm_cfg.py as such:

“POSTFIX_STYLE_VIRTUAL_DOMAINS = [’domain1.tld’, ‘domain2.tld’]”
“add_virtualhost(’domain1.tld’, ‘domain2.tld’)”

Then when you add new domains it will add them to a file with only mailman’s virtual settings. Let Postfix know about them by adding this to your main.cf:

“virtual_alias_maps = hash:/etc/postfix/virtual, hash:/etc/mailman/virtual-mailman”

Let me know if that screws you up. It’s been a while since I’ve done it.

Later - Gabe

Comments are closed.

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Login