[mostly copied from slack]
Tonight Davide and I built an upgraded Mailmain box.
`scale-lists2` is on *CentOS 8 Stream* and (we think) ready to go. We
didn't do CentOS 9 Steam because mailman isn't (yet) packaged in EPEL9.
Moved over all the configs and archives (will re-sync when we do the
final cutover). Mailman seems happy - mailing lists, admin interface,
etc. - it's on a newer version, 2.1.29. I haven't the slightest clue
how to access/test/use phplist, so I haven't tested it, I'd appreciate
if anyone (especially Ilan) could poke at it. Given we're pulling the
same build, it's very likely it needs some s/python/python2/g somewhere,
at the very least. The whole email config here is a bit odd, but it
looks like the MX points to google, and then (I presume) google forwards
lists stuff on (I don't believe I have access to that), presumably based
on the name. So I believe the cut over would be something like:
* shutdown postfix on lists1
* re-sync mailman archives+configs
* move elastic IP from lists1 to lists2
* update DNS (aws dns?) to update the v6 address for
lists.{linuxfests,socallinuxexpo}.org to lists2's v6 address (v4 doesn't
need to change due to elastic IP)
* test mail is flowing
I think that's it. But Ilan, you've actually played with phplist and
mailgun and friends a lot and I haven't, so any things you think I might
be missing, please let me know.I'll give people a few days to poke at
this before I do the cutover. A few side notes:
* The mailman restore script doesn't appear to have ever worked.
And if we wanted to fix it we'd need to port it to boto3, and it's not
clear where some of the APIs we used went. This may be one of those
"just downloading the tarball and extracting it may be sufficient if we
ever need to do a restore
* Mailman backups need to be ported to boto3 as well, but that
looks more straight forward?
* We cleaned up a lot of stuff while we were at it, but there's
more to do, as always. We're on official mailman packages now, though
we're still on the same crufty build of phplist since I couldn't find
real packages for that. Whether that works in this world is another
story. I'm happy to at least try to help debug if someone points me to
... anything.
Many many thanks to Davide tonight for all of his help.
- Phil