[Mailman-Users] Moving lists between virtual domains.

Orlando Reis reis.orlando at gmail.com
Mon Jan 29 19:21:54 CET 2007


Thanks for you reply mark.

I had little time to do it and that was what I did, after doing that for
each of the lists I wanted to move, I got several errors.

I then remembered, I don't know if that is mandatory, to regenerate
virtual-mailman.db using genaliases commmand.

so the steps I took per mailing list where:
withlist -l -r fix_url listname --urlhost=www.vhost1.eu
bin/arch --wipe listname

and at the end i did genaliases command and did /etc/init.d/mailman restart

And it worked, thanks Mark

On 1/29/07, Mark Sapiro <msapiro at value.net> wrote:
>
> Orlando Reis wrote:
>
> >Hi all, athough this question as been posted in the past and I have
> searched
> >and searched the mailing list I haven't found a simple a and clear
> solution
> >to the problem.
> >
> >I have my default mailman URL at www.mainhost.com
> >And have several other vhosts added
> >
> >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['vhost1.org', vhost1.eu' ,'vhost2.org',
> '
> >vhost2.eu','vhost3.eu']
> >#add virtual hosts
> >VIRTUAL_HOSTS.clear()
> >add_virtualhost('www.vhost1.org', 'vhost1.org')
> >add_virtualhost('www.vhost1.eu','vhost1.eu')
> >add_virtualhost('www.vhost2.org', 'vhost2.org')
> >add_virtualhost('www.vhost2.eu','vhost2.eu')
> >add_virtualhost('www.vhost3.eu','vhost3.eu')
> >add_virtualhost('www.mainhost.com','mainhost.com')
> >
> >I have lists on all domains
> >
> >What I wan't to do is move a list from vhost1.org to vhost1.eu. Is there
> any
> >howto on how to do this.
>
>
> You've answered your own question.
>
>
> >image that i have the following lists: list_all, list_member,
> >list_workproj1, list_workproj2
> >
> >If I issue the fix_url command
> >
> >bin/withlist -l -r fix_url list_all --urlhost=http://www.vhost1.eu
>
>
> Actually, it should be
>
> bin/withlist -l -r fix_url list_all --urlhost=www.vhost1.eu
>
> >That will change the url for the list configuration, but I will also have
> to
> >rebuild the archives?
>
>
> Yes, but the only thing in the archives that is 'wrong' is the link to
> the listinfo page from the table of contents page and the periodic
> index pages. The table of contents will fix itself when a message is
> archived and current and new index pages will too.
>
> You can fix old index pages manually if it's important, or create some
> kind of script to do it, or rebuild the entire archive with 'bin/arch
> --wipe'.
>
> --
> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
>
>


More information about the Mailman-Users mailing list