RE: [Mailman-Users] Multiple Domains/URL problem

2003-09-23 Thread Wayne Spivak
Thank you - that did the job!

-Original Message-
From: Richard Barrett [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 23, 2003 2:13 AM
To: Wayne Spivak
Cc: [EMAIL PROTECTED]
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=showfile=faq04.029.htp

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




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Multiple Domains/URL problem

2003-09-22 Thread Wayne Spivak
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?




--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org