
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 handlers via a plugin, but there's no documentation for it, so I'm looking for more information.
Worst case, I can probably add my handlers and pipelines as direct files in the venv inside Mailman's paths for the PyPI packages, but I'd like to avoid that if possible and just add an extra plugin.
Thomas
-------- Forwarded Message -------- Subject: (Custom) Plugins: Proper file path(s) for adding a handler? Date: Mon, 23 Oct 2023 11:07:53 -0400 From: Thomas Ward <teward@thomas-ward.net> To: mailman-users@mailman3.org
I want to add a custom handler that implements customized thread IDs in the system. I already have the DB logic worked out, but the documentation for plugins is NOT clear on how to define a handler in a plugin, nor does the example plugin in the documentation on Gitlab have any custom handlers.
I'm looking to add a custom handler so that the private pipeline for threaded-subject-list can use thread-subject (the custom handler) instead of subject-prefix (builtin).
I'm unclear how to add this properly in a plugin that would be read properly by Mailman, though.
Any tips on the filestructure needed for the Python code/plugin package in order to properly be set up and work?
Thomas