[Mailman-Developers] mta integration
msapiro at value.net
Tue Oct 9 18:55:21 CEST 2007
Gordon Messmer wrote:
>I'd like to write a filter for the Courier MTA which will run mailman's
>approval and spam tests before accepting messages to mailing lists. My
>filter framework is in python, so I think I can import the relevant bits
>of mailman (I'd like to start with MM2.1 compatibility). Can I get any
>pointers to the functions that check the sender for approval, and for
>the spam-specific posting filters?
Everything is done by the handler modules in Mailman/Handlers.
IncomingRunner processes the message by calling the process() function
of each module in the GLOBAL_PIPELINE list in turn until the pipeline
is exhausted or a handler raises an exception.
See the definition of GLOBAL_PIPELINE in Defaults.py and the
SpamDetect.py, Approve.py, Moderate.py and Hold.py handlers in
Mark Sapiro <msapiro at value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Developers