On 4/18/2013 1:32 PM, Patrick Ben Koetter wrote:
> * Terri Oda <[email protected]>:
>>
>> I hope that no one was seriously considering that level of
>> hardcoding.  What we are almost certainly talking about is setting
>> up a handler (I think Stephen estimated this to be around 10 lines
>> of code).
> 
> And that handler would be - excuse my ignorance I don't program - a Python
> function to handle a Python program? Could the handler pass a message over to
> e.g. SpamAssassin (Perl) or openDKIM (c code) or any other non Python program
> without the need to add any additional (Python) code?


In 10 lines? Maybe.

If SpamAssassin is spamd, the Python socket module is part of the
standard library.

OpenDKIM includes a milter interface. There are Python milter shims
available

Perhaps your point is that this is more than 10 lines of code which is
probably true, but interfacing to some specific spam filter plugin
architecture from a Mailman chain rule module does not seem to me to be
a big project.

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
_______________________________________________
Mailman-Developers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-developers
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: 
http://www.mail-archive.com/mailman-developers%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-developers/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to