migrate mailman to new server
![](https://secure.gravatar.com/avatar/ae7bcc834eb3324f28fef1b0d1154952.jpg?s=120&d=mm&r=g)
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:
- Copied all of /var/lib/mailman/lists/ from the old server to the new one.
- Fixed the permissions with "chown -R mailman:mailman /var/lib/mailman/lists/"
- 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.)
- Copied all /var/lib/mailman/archives/private/*mbox/*mbox to the new server.
- Fixed the permissions with "chown -R mailman:mailman /var/lib/mailman/archives/private"
- 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
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/ae7bcc834eb3324f28fef1b0d1154952.jpg?s=120&d=mm&r=g)
26.08.11, 00:03, "Mark Sapiro" <mark@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.
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
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.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/ae7bcc834eb3324f28fef1b0d1154952.jpg?s=120&d=mm&r=g)
26.08.11, 00:03, "Mark Sapiro" <mark@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.
participants (3)
-
Mark Sapiro
-
NIKKurer
-
NIKkurer@yandex.ru