[Spambayes] simpler way to invoke SpamBayes from Outlook rule

Seth Goodman sethg at GoodmanAssociates.com
Fri Nov 7 18:08:05 EST 2003


I just noticed there is a standard action for Outlook rules called "start
application", which runs a user-specified application.  Thus, we could
easily make a rule to run the SpamBayes message processor when any new
message arrives.  If this rule were the *last* rule, then all other rules
would process first without the use of background mode.  Since many message
sorting rules often end with "stop processing further rules", the rule
invoking the SpamBayes engine would thus only run when the message does not
fit any of the other rule categories.  This would get rid of the need for
background processing mode and get rid of the need to watch for "folder add
events".  I realize this is a naive question and that the code is already
written as it is, but wouldn't this make the Outlook specific code a good
deal simpler and thus easier to maintain?




More information about the Spambayes mailing list