Mailman with multiple domains
Hi,
I've got Mailman up and running and looks good, but I'm not sure about multiple domains.
mm_cfg.py contains this section: POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain2.net'] add_virtualhost('lists.domain2.net', 'domain2.net')
Mail sent to mailman@lists.domain1.net (the default URL and email hosts are lists.domain1.net) goes through fine, but mailman@lists.domain2.net disappear once they are passed to mailman by postfix. There is nothing in the mailman log files for the attempted delivery to lists.domain2.net.
I'm using the Ubuntu Karmic package of Mailman which includes postfix-to-mailman.py, not sure if that effects this.
I believe that mailing lists exist across all virtual domains listed? Is there any way to allow for the same mailing list on different domains with one instance of mailman? So I could have users@lists.domain1.net AND users@lists.domain2.net as two separate lists.
Thanks Guy
-- Don't just do something...sit there!
I believe that mailing lists exist across all virtual domains listed? Is there any way to allow for the same mailing list on different domains with one instance of mailman? So I could have users@lists.domain1.net AND users@lists.domain2.net as two separate lists.
Currently, out of the box, Mailman shares namespace between virtual domains, so you can not have users@lists.domain1.net and users@lists.domain2.net. However, there is a vhost patch that would allow you to do that, but it would require couple of modifications and some apache rewrite rules.
This patch mostly works. Mostly, because there is an issue with viewing private, password protected archives, which i haven't been able to find a work-around for.
For more information check out this thread (it has somewhat detailed instructions):
http://mail.python.org/pipermail/mailman-users/2010-January/068543.html
- Igor
Guy wrote:
I've got Mailman up and running and looks good, but I'm not sure about multiple domains.
mm_cfg.py contains this section: POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain2.net'] add_virtualhost('lists.domain2.net', 'domain2.net')
First of all, the domain(s) in POSTFIX_STYLE_VIRTUAL_DOMAINS are the email domains, not the web domains ('domain2.net' in this case)
Mail sent to mailman@lists.domain1.net (the default URL and email hosts are lists.domain1.net) goes through fine, but mailman@lists.domain2.net disappear once they are passed to mailman by postfix.
If you are actually mailing to mailman@lists.domain2.net as opposed to mailman@domain2.net, your add_virtualhost should have 'lists.domain2.net' as it's second argument.
There is nothing in the mailman log files for the attempted delivery to lists.domain2.net.
What about in Postfix logs?
I'm using the Ubuntu Karmic package of Mailman which includes postfix-to-mailman.py, not sure if that effects this.
In that case, POSTFIX_STYLE_VIRTUAL_DOMAINS is irrelevant. Do you have both lists.domain1.net and lists.domain2.net mapped to the mailman transport in your transport_maps database?
I believe that mailing lists exist across all virtual domains listed? Is there any way to allow for the same mailing list on different domains with one instance of mailman? So I could have users@lists.domain1.net AND users@lists.domain2.net as two separate lists.
Not with Standard Mailman 2.1.x and not with postfix_to_mailman.py
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Guy -
Mark Sapiro -
UGSD