[Mailman-Users] newsgroup->mailman moderation

Mark Sapiro mark at msapiro.net
Fri Jul 17 17:24:49 CEST 2015


On 7/17/15 2:13 AM, Danil Smirnov wrote:
> 
> To complete the topic, I would like also to add Mailman footers to
> messages, gatewayed to the group.
> (They are not added by default...)
> Could you please point me to the lines of code doing this?


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.

-- 
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