On Tue, Aug 26, 2008 at 06:04:22PM -0300, Jose Fragoso wrote:
> Hi,
> 
> I am running spamd on a OpenBSD 4.1 box with the greyscanner.41 running every
> 10 minutes.
> 
> Recently I noticed the following log entry:
> 
> Aug 26 15:47:58 gwint greytrapper[11467]: Trapped 91.82.157.211:
> Senders/Tuples ration is  9/8 senders/tuples (> 0.85)
> 
> Now my question is how is it possible for the number of senders to be
> greater than the number of tuples? Or should the script display
> 
> 8/9 senders/tuples (> 0.85)

The script appears to do it right:

my @senders = split("\t", $FROM{$grey});
:
my $count = @senders;
:
my %S = undef;
:
foreach $s(@senders) {
   $S{"$s"}++;
:
}
:
my $scount = keys %S;
:
            } elsif ($scount/$count > $MAX_SENDERS_RATIO) {
                $reason = "Senders/Tuples ration is  $scount/$count"
                    . " senders/tuples (> $MAX_SENDERS_RATIO)";

$count is number of tuples for a host and $scount is
number of unique From: addresses among these tuples.

Senders/Tuples of 9/8 should not be possible.
It is a strange bug...


> 
> Thanks in advance for any explanation.
> 
> Regards,
> 
> Jose
> 
> 
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB

Reply via email to