migrating mm21 to mm3 with different domain
Hi gang,
I want to migrate mm21 to mm3, by changing the domain of the list, thus LIST@OLD_dom to LIST@NEW_DOM. I run on debian, with the debian testing version of mm3 installed.
Is there an obvious way to do that? Right now I think
- create new list
- read mm21 pickle to change the domains in it, write to temporary pickle
- run mailman import with that pickle
- read the archive mailbox and change the domain in all the headers
- change the domainname in bodies and attachments (?)
- run hyperkitty import
This may be the project of a madman... any advice?
-- Written by Thomas Krichel http://openlib.org/home/krichel on his 22110th day.
On Tue, Dec 16, 2025 at 7:15 AM Thomas Krichel <krichel@openlib.org> wrote:
Hi gang,
I want to migrate mm21 to mm3, by changing the domain of the list, thus LIST@OLD_dom to LIST@NEW_DOM. I run on debian, with the debian testing version of mm3 installed.
Is there an obvious way to do that? Right now I think
- create new list
- read mm21 pickle to change the domains in it, write to temporary pickle
- run mailman import with that pickle
- read the archive mailbox and change the domain in all the headers
- change the domainname in bodies and attachments (?)
- run hyperkitty import
This may be the project of a madman... any advice?
When you say 'read blah and change the domain', are you doing that programmatically or beforehand? I'd do it beforehand. And whichever way you do it, it will work.
In its simplest - computational power not taken into account:
sed -i.BAK 's/OLD_dom/NEW_dom/g' pickle archive_mailbox
- run the indexing.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 In an Internet failure case, the #1 suspect is a constant: DNS. "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
participants (2)
-
Odhiambo Washington -
Thomas Krichel