Washington Odhiambo via Mailman-users writes:
msg = Message() msg['Message-ID'] = '<xxx@example.com>' for archiver in IListArchiverSet(m).archivers: ... if archiver.system_archiver.name == 'hyperkitty': ... print(f'URL: {archiver.system_archiver.permalink(m, msg)}') ...
This should print something like URL: https://example.com/archives/list/list@example.com/message/FMB3KJSE74FUTZBVOUKAHBKOSWZCEFUW/ Does it?What should I substitute xxx@example.com for?
You shouldn't, use that literally.
Message IDs are pretty arbitrary.[1] Mailman is expecting this (fake) message to be from some random host, so "<xxx@example.com>" is a perfectly good one for testing purposes. The reason Mark says "expect something like" is that the domain in the URL will be your domain, not "example.com", and the path (up to "/list/") is configurable. I'm not sure if you would get the same hash code at the end, you might.
Footnotes: [1] Of course, Microsoft manages to get it wrong and produce defective ones. But it's not easy, it takes the full concentration of a nearly $1T company to do that.
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan