Washington Odhiambo via Mailman-users writes: > > >>> msg = Message() > > >>> msg['Message-ID'] = '<[email protected]>' > > >>> 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/[email protected]/message/FMB3KJSE74FUTZBVOUKAHBKOSWZCEFUW/ > > > > Does it? > > > > What should I substitute [email protected] 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 "<[email protected]>" 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 _______________________________________________ Mailman-users mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/ Archived at: https://lists.mailman3.org/archives/list/[email protected]/message/FVDFDQZ2YKFV5KFLGF3WRPZLB6FHGCGD/ This message sent to [email protected]
