Which spam stats package?

Peter Russell pete at enitech.com.au
Mon Oct 16 01:43:06 IST 2006


Does the account you are running your script under have read access to 
the maillog?

Paul Welsh wrote:
>> -----Original Message-----
>> Date: Fri, 13 Oct 2006 11:10:18 -0400
>> From: Denis Beauchemin <Denis.Beauchemin at USherbrooke.ca>
>> Subject: Re: Which spam stats package?
>> To: MailScanner discussion <mailscanner at lists.mailscanner.info>
>>
>> I wrote the following Perl script.  Might be useful for you too.
> 
> Hi Denis
> 
> I modified the following 2 lines of your Perl script:
> 
> #my $isSpamString  = "est un polluriel, SpamAssassin";
> my $isSpamString  = "is spam, SpamAssassin";
> my $scoreString   = "score=";
> #my $reqdString    = "requis ";
> my $reqdString    = "required ";
> my $autoString    = "autolearn=spam";
> my $cachedString  = "cached, ";
> my $nCachedString = "not cached, ";
> 
> I changed MailScanner.conf to change:
> log spam = yes
> 
> However, when I run sa-hits, I just get this:
> 
> # ./sa-hits
> Maillogs: /var/log/maillog
> Processing /var/log/maillog...
> 
> Excuse my ignorance, but what am I missing?
> 


More information about the MailScanner mailing list