On 1/30/20 1:58 PM, Tom @ Gather wrote:
Interesting! Does the
in
queue also work for emails to subaddresses like foo-owner, etc? Or is it only for list posts?
-bounces goes to bounces -confirm, -join, -leave (and their synonyms -subscribe and -unsubscribe) and -request go to command -owner goes to in.
But there's more to it that that. There's also things put in the metadata in the queue entry such as mail to -owner sets to_owner = True
Relatedly, why is
list_id
a required parameter? Isn't that information contained in the email?
Possibly not. The recipient list is the envelope recipient which may or may not be in the message headers - it could be a Bcc to the list. Thus, listid needs to be set in the metadata as well.
You need to look at mailman/runners/lmtp.py and emulate what it does.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan