On Wed, Sep 10, 2003 at 10:53:38AM +0100, James Gardiner wrote: > Has anyone written a script that run sa-learn through an IMAP folder?
Here's a couple of cron jobs I use to do it: # Run user-supplied spams through SA's Bayesian learner 31 */2 * * * root mv /var/mail/Virtual/Shared/.Spam/new/* /var/mail/Virtual/Shared/.Spam/cur/* /home/spamd/tmp 2> /dev/null && chown spamd:spamd /home/spamd/tmp/* 33 */2 * * * spamd nice sa-learn --spam /home/spamd/tmp && rm /home/spamd/tmp/* 2>/dev/null ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk