> -----Original Message----- > From: Brian Leyton [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 08, 2005 6:33 PM > To: [email protected] > Subject: RE: Stats question... > > Ok, I downloaded 3.05, and tried the sa-stats.pl that comes > with the distribution. Still nothing. > > I'm pretty sure that the reason is that there isn't any > information in the maillog to process. When I look through > the maillog, I don't see anything from SpamAssassin or > MimeDefang at all. There must be something that needs to be > written to the logs, that's not being written. >
You might want to ask the people at MimeDefang then? Cant you use spamc/spamd instead of spamassassin with mimedefang? > The man page says that sa-stats.pl parses spamd entries in > the mail log. > I'm not running spamd (I'm running MimeDefang), so I assume > that's part of my problem. Also - this server doesn't > deliver mail directly - it passes everything to an Exchange > Server. Does that make a difference? > The only thing that matters is where the spamd logs are. I use a gateway running spamd that send mail onto exchange, but my spamd logs to stdout which gets piped through multilog using daemontools. So I run sa-stats.pl this way... # ./sa-stats.pl -f spamd.log -l /var/log/spamassassin/ Or since I logrotate daily, to get stats for yesterday, I run # ./sa-stats.pl -f spamd.log.1 -l /var/log/spamassassin/ The sa-stats I did (http://www.rulesemporium.com/programs/) is basically for show rule hitrates.. Dallas
