Doran L. Barton wrote: > Here's the nightly script we wrote to do this: > > #!/bin/sh > > for USER in `ls /home` > do > #look for a spam-mail file in $USER's mail directory > if [ -f /home/$USER/mail/spam-mail ] > then > echo "Checking spam for $USER ..." > su $USER -c "sa-learn --spam --mbox /home/$USER/mail/spam-mail" > cp /dev/null /home/$USER/mail/spam-mail > fi > done
Cool! I'll try it. Shane /* PLUG: http://plug.org, #utah on irc.freenode.net Unsubscribe: http://plug.org/mailman/options/plug Don't fear the penguin. */
