Discussion:
[Mailman-Users] migrate mailman to new server
NIKKurer
2011-08-25 08:29:32 UTC
Permalink
Hello,
I have old mail server (rabbit.mydomain.com) and new mail server (newbie.mydomain.com). I need to migrate mailman from old to new server.
I used the instructions found in this mailing list:

1. Copied all of /var/lib/mailman/lists/ from the old server to the new
one.
2. Fixed the permissions with "chown -R mailman:mailman
/var/lib/mailman/lists/"
3. Fixed the urls for the new one with "/usr/lib/mailman/bin/withlist -l -r
fix_url [listname]"
for each list. (Only necessary if the new server has a different domain
name than the old one - one time I was moving from xcski.com to
list.xcski.com and the other time I was keeping the same list.xcski.com
url.)
4. Copied all /var/lib/mailman/archives/private/*mbox/*mbox to the new
server.
5. Fixed the permissions with "chown -R mailman:mailman
/var/lib/mailman/archives/private"
6. Regenerated the archives using "/usr/lib/mailman/bin/arch [listname]"
for each list. Note that if your archives are big, this process can
consume all the memory in your system and then some, so you may have to
split the mbox files up and regenerate the list archives in peices or use
the "--start" and "--end" options to arch.

But coming on http://newbie.domain.com/mailman I get to http://rabbit.domain.com/mailman/listinfo

Could you help me resolve this problem?
--
Best regards
Alex Trifonov
Mark Sapiro
2011-08-25 20:03:37 UTC
Permalink
Post by NIKKurer
But coming on http://newbie.domain.com/mailman I get to http://rabbit.domain.com/mailman/listinfo
Could you help me resolve this problem?
Look at your web server's configuration file(s). You probably have
something like

RedirectMatch ^/mailman[/]*$ http://rabbit.domain.com/mailman/listinfo

This should be

RedirectMatch ^/mailman[/]*$ /mailman/listinfo

instead.
--
Mark Sapiro <***@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
N***@yandex.ru
2011-09-07 06:54:06 UTC
Permalink
26.08.11, 00:03, "Mark Sapiro" <***@msapiro.net>:

|  NIKKurer wrote:
|| But coming on http://newbie.domain.com/mailman I get to http://rabbit.domain.com/mailman/listinfo
||
|| Could you help me resolve this problem?
|  Look at your web server's configuration file(s). You probably have
|  something like
|
|  RedirectMatch ^/mailman[/]*$  http://rabbit.domain.com/mailman/listinfo
|
|  This should be
|
|  RedirectMatch ^/mailman[/]*$  /mailman/listinfo
|
|  instead.
|

Thanks for your answer Mark.
You were right, there was such string
/etc/httpd/conf/confs/mailman.conf:RedirectMatch ^/mailman[/]*$ http://rabbit.domain.com/mailman/listinfo
I'm sorry, for so stupid question :-[

P.S.: I found more detailed guide on migration mailman to new server: http://www.debian-administration.org/articles/567 It helps me to solve another problem with that migration.
Mark Sapiro
2011-09-08 02:04:28 UTC
Permalink
Post by N***@yandex.ru
Thanks for your answer Mark.
You were right, there was such string
/etc/httpd/conf/confs/mailman.conf:RedirectMatch ^/mailman[/]*$ http://rabbit.domain.com/mailman/listinfo
I'm sorry, for so stupid question :-[
P.S.: I found more detailed guide on migration mailman to new server: http://www.debian-administration.org/articles/567 It helps me to solve another problem with that migration.
No problem. Thanks for the feedback and the debian link. I've added it
to the FAQ.
--
Mark Sapiro <***@msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
Loading...