-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Mailman 3 #68
Comments
@patrickod What do you think about using a mailman 3 deployment to a new server as part of splitting up list service from the website? |
the upgrade does have a few potential issues, however, I do not believe we are sensitive to most of them. Here is a summary of the potential issues. I'll summarize the upgrade process in another comment. ** Issues during migration **
1.a) Public Archives 1.b) Inks to private list archives are not possible to keep. They are gated and without mm2 there is no password I dont think is is necessary, we can just use the migrated archives. If necessary we need to manually redirect users to the old, static links. And nothing can be done for the private archives.
Production Issues
hyperkitty does not implement a scrubber for digest mode. A suggested workaround is to link to archived messages and delete any non-text/plain parts with a note and link to archived message. For HTML onyl messages this does not appear to work and the HTML bleeds into the message. This is unlikely to impact us as we are text only (I believe that is the case unless there is a plan to switch).
Do we use LMTP? No solution / work-around yet.
A manual step is required to restore the customizations. |
I don't think we care at all about links to the list archives. It's just a repo for crawlers to index. Seems like most of the issues are not going to be a big problem for us. |
Adding migration plan from slack: Option 1: Option 2: |
Just so I'm clear, option 2 is to do a clean install of mailman 2 on m6, copy m3 data, then start testing the migration? I think I prefer this option, I would like data to test the migration obviously. It seems like it should run smoothly but we'll see. I'm going to dry run a few times on my local install but it has no data. I think there's some privacy issues with the private lists. I assume you technically have access and therefore are trusted to look at them post-migration. I want to be sure they are handled correctly given they have at least one difference mentioned above. |
Option 2 is wipe the whole machine and install mailman 3. Basically I think the only way to do a good clean upgrade is to start with mailman 3 and import the data from mailman 2 into it. This way we can repeat the process by wipe/retry more easily. Basically my idea is this:
|
Got it, ok. Based on the migration instructions, it looks like a good idea to check mboxes for the following: If the Mailman 2 list does not predate Mailman 2.1, its LISTNAME.mbox file is probably in good shape, but all mailboxes should be checked for defects before importing. Certain defects such as missing Message-ID: headers or missing or unparseable Date: headers will be corrected or ignored by the import process. The one defect that will definitely cause problems is lines beginning with From in message bodies. These will be seen as the start of a new message. There is a Mailman 2 script at $prefix/bin/cleanarch. That can identify and fix most such lines, but it is not perfect. Cases have been observed where a post includes in its body a copy of some other message including the From separator. This will normally occur only on an old list which includes spam messages or other email problems in its subject matter, but is something to be aware of. So a trial run of the script mentioned would be good. |
what are the next steps for this specifically? Anything I can do? |
@SuperQ ping |
can I have access to m3 to do the pls? I couldn't find a place in ansible that looked like it was for that. |
Can I get a dump of the current mailman2 database, please? I'd like to do this on my local machine across some chroots and VMs, no need for direct server access for now. |
It looks like mailman is being developed under a different package, mailman3, but it's not a simple upgrade.
http://docs.mailman3.org/en/latest/pre-installation-guide.html#how-can-i-upgrade-from-mailman-2-1-x
The text was updated successfully, but these errors were encountered: