Re: [Mailman-Users] Changing hostname of active list server

2007-12-05 Thread Mark Sapiro
Charles Marcus wrote:
>
>Currently, notices with URL references to cancel a posting are of the 
>form .y.com, and I want to change it to ..com.
>
>Is this as simple as setting the DEFAULT_URL_HOST in mm_cfg.py, then 
>running:
>
>$prefix/bin/withlist -l -a -r fix_url ?


Yes., but you also want to add the

VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

lines to mm_cfg,py following the reassignment of DEFAULT_URL_HOST


>I am running postfix in virtual domains mode, but I only have one domain 
>right now, if that matters...


As long as you aren't changing the email host, this shouldn't have any effect
on Postfix or your Postfix settings.

-- 
Mark Sapiro <[EMAIL PROTECTED]>The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp


[Mailman-Users] Changing hostname of active list server

2007-12-05 Thread Charles Marcus
According to 4.29 of the FAQ:

-

4.29. Where can I change a list or the default URL used for the web 
interface?
For MM 2.1.2:

  Changing hostnames
  --

These changes should be made $prefix/Mailman/mm_cfg.py. The applicable 
MM config variables are described in $prefix/Mailman/Defaults.py. 
Typically something like what follows, at the end of your mm_cfg.py, 
will do the trick:

  DEFAULT_EMAIL_HOST = 'your.mailhostname.tld'
  DEFAULT_URL_HOST = 'your.webhostname.tld'
  VIRTUAL_HOSTS.clear()
  add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

and some more add_virtualhost(URL_FQDN, EMAIL_FQDN) if you are using 
virtual hosts.

DEFAULT_URL_HOST should be a fully qualified host name, not an actual 
URL, e.g. 'mailman.example.com' not 'http://mailman.example.com'.

-

Currently, notices with URL references to cancel a posting are of the 
form .y.com, and I want to change it to ..com.

Is this as simple as setting the DEFAULT_URL_HOST in mm_cfg.py, then 
running:

$prefix/bin/withlist -l -a -r fix_url ?

I am running postfix in virtual domains mode, but I only have one domain 
right now, if that matters...

I'm just a little nervous about 'fixing something that ain't broke'... ;)

-- 

Best regards,

Charles
--
Mailman-Users mailing list
Mailman-Users@python.org
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp