Re: [Mailman-Users] Moving a list from one domain to another

2010-02-03 Thread Geoff Shang

On Tue, 2 Feb 2010, Mark Sapiro wrote:


Geoff Shang wrote:


I need to move a list from one domain to another. ...


Thanks for this Mark, it's exactly what I needed and went off without a 
hitch.


I also put the old list address in as an acceptable alias and put a 
forward into Postfix' virtual table and now both addresses work fine.


Thanks again,
Geoff.

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Moving a list from one domain to another

2010-02-02 Thread Mark Sapiro
Geoff Shang wrote:
>
>I realise this is probably a FAQ, but I couldn't find anything specificly 
>about this in the FAQ.
>
>I need to move a list from one domain to another.  The domains are both 
>hosted on the same machine so there's no need to *physically* move 
>anything.
>
>I figure I don't need to worry about the multiple domain restrictions, as 
>I don't expect there to be name clashes (I admin all the lists and the 
>server).
>
>I figure I have to change the host in the list configuration, and also add 
>the new domain to mm_cfg.py.  Apart from running bin/fix_url.py, do I need 
>to do anything else?  Can I run gen_aliases to fix the aliases (using 
>Postfix) or is it better to change them by hand?


You need

add_virtualhost('new.web.domain', 'new.email.domain')

in mm_cfg.py if it's not already there

Then you need to run

 bin/withlist -l -r fix_url listname -u new.web.domain

That moves the list.

For Postfix, it depends on whether new.web.domain is virtual or local
and likewise the old domain.

If both old and new domains are local, you don't need to do anything
more.

If either old or new domain is virtual:
if new domain is virtual:
make sure new.email.domain is in POSTFIX_VIRTUAL_DOMAINS
in mm_cfg.py
if you don't already have data/virtual-mailman in Postfix's
virtual_alias_maps:
add it
if you don't already have new.mail.domain in Postfix's
virtual_alias_domains:
add it
run bin/genaliases

(the above is intended to be Pythonic pseudo code)

-- 
Mark Sapiro 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://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] Moving a list from one domain to another

2010-02-02 Thread Geoff Shang

Hello,

I realise this is probably a FAQ, but I couldn't find anything specificly 
about this in the FAQ.


I need to move a list from one domain to another.  The domains are both 
hosted on the same machine so there's no need to *physically* move 
anything.


I figure I don't need to worry about the multiple domain restrictions, as 
I don't expect there to be name clashes (I admin all the lists and the 
server).


I figure I have to change the host in the list configuration, and also add 
the new domain to mm_cfg.py.  Apart from running bin/fix_url.py, do I need 
to do anything else?  Can I run gen_aliases to fix the aliases (using 
Postfix) or is it better to change them by hand?


Cheers,
Geoff.

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org