-----Original Message----- From: Odhiambo WASHINGTON [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 9:30 AM To: Jean-Paul Natola Cc: users@spamassassin.apache.org Subject: Re: SA-STATS on BSD
* On 08/11/06 19:15 -0500, Jean-Paul Natola wrote: | Hi everyone, | | I've tried on apache and SARE and bsd sites to find the documentation on | installing sa-stats , I have found the the actual sa-stats.pl but I dont | know how to go about installing it on BSD any guidance would be appreciated. | | Freebsd 5.4 | exim | sa 3.1.7 cd /usr/ports/mail/p5-Mail-SpamAssassin make -DWITH_TOOLS reinstall If you install the utility called portupgrade, you can do: portupgrade -m WITH_TOOLS=1 p5-Mail-SpamAssassin The sa-stats.pl will then be installed in /usr/local/share/spamassassin/tools/ HTH -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <[EMAIL PROTECTED]> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Zero Defects, n.: The result of shutting down a production line. Thanks to WASH I got it installed, HOWEVER, I am getting zero stats, is sa-stats designed to work ONLY with maillog? I do not have maillog , I have /var/log/exim/mainlog This was the syntax I used /usr/local/share/spamassassin/tools/sa-stats.pl -s 'midnight' -e 'now' > sa_stats.txt And these were the results; Report Title : SpamAssassin - Spam Statistics Report Date : 2006-11-09 Period Beginning : Thu Nov 9 00:00:00 2006 Period Ending : Thu Nov 9 11:57:53 2006 Reporting Period : 11.96 hrs -------------------------------------------------- Note: 'ham' = 'nonspam' Total spam detected : 0 ( 0.00%) Total ham accepted : 0 ( 0.00%) ------------------- Total emails processed : 0 ( 0/hr) Average spam threshold : 0.00 Average spam score : 0.00 Average ham score : 0.00 Spam kbytes processed : 0 ( 0 kb/hr) Ham kbytes processed : 0 ( 0 kb/hr) Total kbytes processed : 0 ( 0 kb/hr) Spam analysis time : 0 s ( 0 s/hr) Ham analysis time : 0 s ( 0 s/hr) Total analysis time : 0 s ( 0 s/hr) Statistics by Hour ---------------------------------------------------- Hour Spam Ham ------------- ----------------- -------------- 2006-11-09 00 0 ( 0%) 0 ( 0%) 2006-11-09 01 0 ( 0%) 0 ( 0%) 2006-11-09 02 0 ( 0%) 0 ( 0%) 2006-11-09 03 0 ( 0%) 0 ( 0%) 2006-11-09 04 0 ( 0%) 0 ( 0%) 2006-11-09 05 0 ( 0%) 0 ( 0%) 2006-11-09 06 0 ( 0%) 0 ( 0%) 2006-11-09 07 0 ( 0%) 0 ( 0%) 2006-11-09 08 0 ( 0%) 0 ( 0%) 2006-11-09 09 0 ( 0%) 0 ( 0%) 2006-11-09 10 0 ( 0%) 0 ( 0%) 2006-11-09 11 0 ( 0%) 0 ( 0%) Done. Report generated in 27 sec by sa-stats.pl, version 6256.