From: Chris <cpo...@ea...> - 2006-12-02 14:15:23
|
On Saturday 02 December 2006 6:59 am, Matija Nalis wrote: > It is going to be more complicated. not much -- if you really want "perl" > which imitates a "sh", then you need: > > system ('for f in *; do pyzor report < $f; done') > > (single quotes are important) > > > My Perl-foo is very weak, so I ask you, pyzor hive mind, for help. :D > > BTW, why don't you use "spamassassin --report" ? It is intented to do > both bayesian sa-learn, and report to all services you have enabled > (pyzor, DCC, spamcop, ....) which seems to be exactly what you want Maybe this isn't exactly what you're looking for, but on my home box here I= =20 have a perl script that I run nightly that does it all, runs sa-learn,=20 reports to razor, pyzor and DCC. It will even report to spamcop if the=20 variables are set. I've been using it for years. It may or may not be what= =20 you're looking for. I didn't write it but I'd be glad to share it if you=20 want to give it a try. =2D-=20 Chris |