/usr/bin/sa-learn --spam /var/vmail/*/*/.Junk/cur/*
/usr/bin/sa-learn --ham /var/vmail/*/*/.good/cur/*
/usr/bin/sa-learn --spam /var/vmail/biggdog.biz/babedh-dhra/Maildir/.Junk/cur/*
/usr/bin/sa-learn --ham /var/vmail/biggdog.biz/babedh-dhra/Maildir/cur/*
chmod o+x /bin/sa_learn
Thus adding ??
If we were to use this script shouldn't we also have to reload amavis?
Now I am not using the cron job simply because I am hand picking my spam and ham and I MUST make sure all of the emails are indeed spam or ham.
Last edited by biggdog; 13th November 2013 at 20:00.