[Mailman-Users] newsgroup->mailman moderation

Mark Sapiro mark at msapiro.net
Mon Jul 20 03:39:55 CEST 2015


On 7/19/15 2:17 AM, Danil Smirnov wrote:
> 2015-07-17 18:24 GMT+03:00 Mark Sapiro <mark at msapiro.net>:
>> Headers/Footers are added by Mailman/Handlers/Decorate.py.
>> Decorate.process is called by Mailman/Handlers/SPTPDirect.py to apply
>> the replacements to msg_header and msg_footer and add them to the
>> message. You would need to do something similar in
>> Mailman/Handlers/ToUsenet.py.
> 
> Yes, it was quite easy. Attaching the patch for
> Mailman/Handlers/ToUsenet.py for version 2.1.20.


Your patch didn't make it through this list's content filtering which
accepts only text/plain, text/x-diff and application/pgp-signature
elementary MIME types.

A better way to deal with this for MM 2.1 is to create an issue at
<https://bugs.launchpad.net/mailman/+filebug> and attach your patch or a
merge proposal.

For MM 3 the process is similar except the tracker is at
<https://gitlab.com/mailman/mailman/issues>.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list