24th September 2006
So yesterday I was moving a mailing list from one box to another and changing the domain names used for it. Most of this was achived by copying $mailmandir/lists/$listname
and $mailmandir/archives/private/$listname*
to the new machine (and depending on your set up messing with permissions). However this leaves the old hostname in the admin interface and archives links. Which is annoying
Thankfully mailman provides a way to fix this. $mailmandir/bin/withlist -l -r fix_url $listname -u $listdomain
.
eg /export/home/mailman/bin/wishlist -l -r fix_url examplelist -u lists.example.com