sa-learn using event notifications

Arnaldo Viegas de Lima arnaldo at
Mon Mar 12 13:07:59 EDT 2018

I run a separate daemon that periodically checks the spam folder, perform the necessary “training” actions and then remove the message.

> On Mar 12, 2018, at 1:44 PM, Luca Olivetti <luca at> wrote:
> I wrote a simple program that manages the vnd.cmu.MessageMove event to run sa-learn when a message is moved into or out of the spam folder.
> I'm processing it synchronously (i.e., the program starts spawned by notifyd and doesn't terminate until sa-learn exits).
> Given that sa-learn takes a few seconds to run, could it lead to problems? Should I devise a different strategy (i.e. queue sa-learn to run later/asynchronously)?
> I don't have many users (around 100 active sessions).
> Bye
> -- 
> Luca Olivetti
> Wetron Automation Technology
> Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007
> ----
> Cyrus Home Page:
> List Archives/Info:
> To Unsubscribe:

More information about the Info-cyrus mailing list