-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Matthews wrote:
> 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?
> 

Almost certainly not, unless you change that "i$" to "$i" ;-)

C.

- --
Craig McLean            http://fukka.co.uk
[EMAIL PROTECTED]       Where the fun never starts
        Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEdWGSMDDagS2VwJ4RAiRfAJ9/0LsDofegmY1FMQMLgQRL9MnwcACeJOYd
LH64xcCF3cfXHfAo/KTO4zc=
=KOF+
-----END PGP SIGNATURE-----

Reply via email to