[Dovecot] Dovecot to call sa-learn?

Andrew Hearn andrew.hearn at aaisp.net.uk
Thu Apr 10 20:11:40 EEST 2008


Hello,

We offer our users to learn spam/ham by using folders called 'learnham' 
or 'learnspam'. We currently use a cron job and use find to search 
through all the folders to find folders called learn-spam and then call 
sa-learn etc to process each message.

Is there away that dovecot can call a script when a message is moved to 
a particular folder? It seems to me that this would be more efficient 
than using find, and would get the messages learnt as soon as they are 
moved in to the learning folders.

Andrew.


More information about the dovecot mailing list