Hi there,

i'm running RHEL4 with spamassassin-3.0.5-3.el4 and i'm looking for a
script that will make sa-learn go though everyone's Junk mail folder and
'learn' what is Junk.

i've come up with this

#!/bin/bash

for i in $( ls /home/MYDOMAIN); do
     sa-learn --spam /home/MYDOMAIN/i$/mail/Junk
done

If i set it to run as a cron job once a week, Will that do what I want it
to do?


Reply via email to