- or download this
# Define our buckets for collecting data
my %bucket = ();
my %USER = ();
my %VIRUS = ();
my %SPAM = ();
- or download this
# These numbers must be valid reason codes...
my @wanted = ( 1, 60 );
- or download this
for (<$file>)
- or download this
while ( <$file> )
- or download this
chomp;
...
my ( $month, $day, $time, $host,
$process, $clientIP, $MessageID,
$timeStart, $timeEnd, $service, @INFO ) = split /\s+/;
- or download this
my ( undef, undef, undef, $host, undef, undef, undef, undef, undef, $s
+ervice, @INFO ) = split;
- or download this
$USER{$host}{$recip}{$action{$service}{$action_}}{$reason{$rea
+son_}}{'count'}++;
#if ( grep /^$reason_$/, @wanted );
- or download this
$USER{$host}{$recip}{$action{$service}{$action_}}{$reason{$rea
+son_}}{'count'}++;
#if exists $wanted{ $reason_ };