This is the updated version of our Zarafa spamhook that has been tested with Zarafa 7.1.4.
Whenever a user moves mail from or to the Junk folder, it will call /etc/zarafa/userscripts/junklearn. This script can than then the appropriate measures to retrain the spamfilter. We've included our own script for our as an example on how to use this.
This version contains a bug fix and uses the official Zarafa unix_popen... way of opening a subprocess, instead of using popen directly. (this was the reason things went wrong with the previous patch)
Although this hook works pretty efficient, we know it's not the right way to do this: Ideally we would use ICS and monitor the whole server for message movements. We're trying to do that here with a python script:
Edwin
Bookmarks