[Mailman-Developers] Fwd: (Custom) Plugins: Proper file path(s) for adding a handler?

2023-10-23 Thread Thomas Ward via Mailman-Developers
I originally sent this to the mailman3 list, but got no reply all day, suggesting that perhaps this might have not been the best place to send this message to. So, sending it to the mailman-developers list, which is more tech/devel oriented.  Primarily, my goal here is to figure out how to add

[Mailman-Developers] Access a plugin's configuration options via mailman.config?

2025-05-16 Thread Thomas Ward via Mailman-Developers
I'm working on developing a plugin, and I'd like to be able to add configuration options in the configuration for the plugin at the Mailman3 level, however I'm not entirely sure how I'd read out configuration options. Assume that we're working with this in the /etc/mailman3/mailman.cfg file f

[Mailman-Developers] Some Confusion over Archivers and data types

2025-05-29 Thread Thomas Ward via Mailman-Developers
So, long story short, we're using an Archiver as a solution to parse attachments from email message contents and into file storage for indexing by a separate service. However, when we're trying to parse the message (i.e. inside our class) when we look at the message and try to read headers, et

[Mailman-Developers] Re: Some Confusion over Archivers and data types

2025-05-30 Thread Thomas Ward via Mailman-Developers
Well, I noticed a second problem with my code. On 2025-05-30 01:00, Stephen J. Turnbull wrote: Thomas Ward via Mailman-Developers writes: > (1) What is the datatype of `msg` in the archive_message class? Ask not what is the data type of `msg`. Ask instead what is the data type of `

[Mailman-Developers] Re: Some Confusion over Archivers and data types

2025-05-30 Thread Thomas Ward via Mailman-Developers
t as a bug with Python!  (Either that or Python on the mailman system is just old enough that that was fixed later... Python 3.10) Either way, I'm starting to figure out what's busted here. Thomas On 2025-05-30 01:00, Stephen J. Turnbull wrote: Thomas Ward via Mailman-Developers wr