test and install a custum ruleset into SA

Alex Broens ms-list at alexb.ch
Fri Jul 27 14:19:17 IST 2007


one box:

Pfix body rule:

cat   /var/log/maillog | grep 'SEEING YOUR CARD' | wc -l
1118

SA

cat   /var/log/maillog | grep 'ECARD_SIG' | wc -l
1




On 7/27/2007 3:15 PM, UxBoD wrote:
> mysql> select count(*) from maillog where spamreport like '%KAM_CARD%' and isspam = 1;
> +----------+
> | count(*) |
> +----------+
> |     1340 | 
> +----------+
> 1 row in set (0.28 sec)
> 
> mysql> select count(*) from maillog where spamreport like '%KAM_CARD%' and isspam = 0;
> +----------+
> | count(*) |
> +----------+
> |        0 | 
> +----------+
> 1 row in set (0.25 sec)
> 
> 
> Regards,
> 
> --[ UxBoD ]--
> // PGP Key: "curl -s https://www.splatnix.net/uxbod.asc | gpg --import"
> // Fingerprint: C759 8F52 1D17 B3C5 5854  36BD 1FB1 B02F 5DB5 687B
> // Keyserver: www.keyserver.net Key-ID: 0x5DB5687B
> // Phone: +44 845 869 2749 SIP Phone: uxbod at sip.splatnix.net
> 
> ----- Original Message -----
> From: "Glenn Steen" <glenn.steen at gmail.com>
> To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
> Sent: Friday, July 27, 2007 1:31:08 PM (GMT) Europe/London
> Subject: Re: test and install a custum ruleset into SA
> 
> On 27/07/07, Jorge Costinha <jlcostinha at halla.pt> wrote:
>> regarding custom ruleset KAM.
>>
>> by just have KAM.cf in /etc/mail/spamassassin is enough for SA use the
>> ruleset?
>>
>> i have it and now i am looking for a way to track the effects of this
>> ruleset, any advice on how to accomplish this?
>>
>> thanks in advance.
>> Jorge
>>
>>
> This is one of the areas where MailWatch really shines... One just
> apply some sane filters on the report page, and presto... there it
> is:-). You'd probably want to look at limiting to the last couple of
> days, and see if SpamReport contains the KAM_ string ... Simple as
> that. If you always include the spamassassin report, you'll see where
> it hit on ham (or seeming ham... call it SHAM:-D:-)
> 
> Cheers




More information about the MailScanner mailing list