[Mailman-Users] multiple vhosting for lists

audit audit at c2security.org
Mon Feb 25 18:39:36 CET 2008


Mark Sapiro wrote:
> audit wrote:
>
>   
>> Right now I have a multiple lists setup for hosting mail lists off one 
>> of my hosted sites, I would like to add another domain to host mail 
>> lists from now also. Under my /usr/local/etc/postfix/transport I have
>>
>> domain.com mailman:
>>
>> Can I just add the other domain.tld mailman: to the transport file and 
>> run postmap /usr/local/etc/postfix/transport
>>     
>
>
> It depends what your 'mailman' transport does.
>
>   
The above entry is the only entry in my transport file. I have lists for 
the primary domain in the server that work fine and I didn't need to add 
the

domain.com mailman:

entry in until I was having problems trying to some mail lists over to a hosted domain on the server.


>   
>> and then in my mm.cfg.py add another line below my current one
>>
>> add_virtualhost('www.domain.com', 'domain.com')
>>
>> add_virtualhost('www.newdomain.com', 'newdomain.com')
>>
>> and then restart mailman?
>>     
>
>
> That's all you need to do in Mailman.
>
> Whether or not you need to do anything in your web server configuration
> depends on whether or not the existing Mailman stuff will apply to the
> www.newdomain.com virtual host.
>
>   
I believe I only need to add
        ScriptAlias /mailman   "/usr/local/mailman/cgi-bin"
        Alias       /pipermail "/usr/local/mailman/archives/public"
to the new domain's apache vhost conf for that domain and reload apache.






More information about the Mailman-Users mailing list