sa-learn using event notifications
Arnaldo Viegas de Lima
arnaldo at viegasdelima.com
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 wetron.es> 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 http://www.wetron.es/
> Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
>
More information about the Info-cyrus
mailing list