On Monday 16 June 2008 2:23 pm, NGSS wrote: > HI, > Thanks for the response. > > May I know how I can capture the output of the sa trainer ? I using the > follow script to do training, > > cd /home/vpopmail/domains/$DOMAIN/$SPAM/Maildir/cur > /usr/bin/sa-learn --spam ./* > cp -a /home/vpopmail/domains/$DOMAIN/$SPAM/Maildir/cur/* $DIRCOLLECTSPAM > rm -rf /home/vpopmail/domains/$DOMAIN/$SPAM/Maildir/cur/* > cd /home/vpopmail/domains/$DOMAIN/$SPAM/Maildir/new > /usr/bin/sa-learn --spam ./* > cp -a /home/vpopmail/domains/$DOMAIN/$SPAM/Maildir/new/* $DIRCOLLECTSPAM > rm -rf /home/vpopmail/domains/$DOMAIN/$SPAM/Maildir/new/* > > Click on the below link to download a perl script that I run once a week or so. It will learn all your spam/ham, report that spam to Razor/Pyzor/DCC (if so desired) and also Spamcop if so desired. Prior to the 3.*.* series of SA the script 'used' to send me a report of the number of spam/ham learned and the total number of spam/ham in my Bayes db. That suddenly quit and since I'm no perl programmer I have no idea how to fix it. Maybe someone can take a look and see where the problem(s) may lie. I have this located in my /usr/local/bin folder and run it like this - [EMAIL PROTECTED] ~]$ reporter.pl
http://beta.d.thelinkup.com/default.aspx?fldr=2008061700&fl=reporter.pl&vfl=reporter.pl&disposition=attachment HTH Chris -- Chris KeyID 0xE372A7DA98E6705C
pgpcn3h7XQ6Cz.pgp
Description: PGP signature