[Mailman-Users] Multiple Domains/URL problem

Wayne Spivak WSpivak at sbanetweb.com
Tue Sep 23 11:09:13 CEST 2003


Thank you - that did the job!

-----Original Message-----
From: Richard Barrett [mailto:r.barrett at openinfo.co.uk] 
Sent: Tuesday, September 23, 2003 2:13 AM
To: Wayne Spivak
Cc: mailman-users at python.org
Subject: Re: [Mailman-Users] Multiple Domains/URL problem



On Tuesday, September 23, 2003, at 03:33  am, Wayne Spivak wrote:

> I runnng mailman on a box with currently four domains.
>
> I've added four groups of these lines:
>
> VIRTUAL_HOSTS = {'list.foo.com': 'list.foo.com'} <-- notice bracket 
> add_virtualhost ('list.foo.com', 'list.foo.com') <-- notice paren
>
> I've tried to run withlist -r fix_url -l foo-list and then mailmanctl 
> restart and I still get this error.
>
> On some of the lists I get the in-addr-arpa name for the url.  Not 
> even the box url.  The mailman list is set to the box url.
>
> I hope I've explained this, its been a long tedious day.
>
> Any ideas?
>

If you are supporting four virtual domains then  you probably want to 
say the following in your mm_cfg.py, before restarting mailmanctl and 
using fix_url

DEFAULT_EMAIL_HOST = 'box.mailhostname.tld'
DEFAULT_URL_HOST = 'box.webhostname.tld'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
add_virtualhost('your.webhostname-1.tld', 'your.mailhostname-1.tld')
add_virtualhost('your.webhostname-2.tld', 'your.mailhostname-2.tld')
add_virtualhost('your.webhostname-3.tld', 'your.mailhostname-3.tld')
add_virtualhost('your.webhostname-4.tld', 'your.mailhostname-4.tld')

You could also check out the FAQ page:

http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.029.htp

-----------------------------------------------------------------------
Richard Barrett                               http://www.openinfo.co.uk







More information about the Mailman-Users mailing list