[spambayes-bugs] [ spambayes-Patches-848319 ] Ximian Evolution filter scriptlet

SourceForge.net noreply at sourceforge.net
Mon Nov 24 22:54:31 EST 2003


Patches item #848319, was opened at 2003-11-24 09:36
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=848319&group_id=61702

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Barry A. Warsaw (bwarsaw)
Assigned to: Nobody/Anonymous (nobody)
Summary: Ximian Evolution filter scriptlet

Initial Comment:
Ximian Evolution lets you define filters which can be
run on each message when it arrives, to determine the
disposition of the message.   The basis for whatever
action you define is the return value of the script.

Here is a small sb_xmlrpcserver.py client which sends
the message Evolution provides on stdin, to the server
and returns an sb score.  The score is then compared
against spam_cutoff and ham_cutoff to return one of
three exit values: 0 means ham, 1 means unsure, 2 means
spam.  A -1 is an error code.

This requires my sb_xmlrpcserver.py patch.  I call this
script sb_score.py.


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2003-11-24 22:54

Message:
Logged In: YES 
user_id=12800

I went with sb_evoscore.py because, while the code isn't
Evolution specific per-se, the docstring is, and the
docstring is much longer than the code anyway. :)


----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-11-24 21:45

Message:
Logged In: YES 
user_id=552329

I wonder if sb_score.py is the best name - to me it sounds a 
bit like it will do what sb_filter.py does.  I think 
sb_xmlscore.py would emphasise that the difference is that it 
uses sb_xmlrpcserver.py to do the work.  Or maybe 
sb_rpcscore.py or sb_xmlrpcscore.py.

But then sb_client.py isn't sb_xmlrpcclient.py, so maybe 
not ;)  Just my 2c.  +1 to checking it in, anyway.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=848319&group_id=61702



More information about the Spambayes-bugs mailing list