Hi Felix,

Making use of the opportunity, I'd like to suggest you changing line  
25 of your script where it reads:

         if( m/spamdyke/ ){

to

         if( m/spamdyke\[/ ){

so it only use spamdike processes' lines, because if not it will also  
catch qmail log lines, for example, messages from this very list, and  
end up putting up lines like these in the report:

509     ERROR
387     TIMEOUT
21      [EMAIL PROTECTED]

7       scan
6       DENIED_RHSBL_MATCH
-- Breakdown --
100.00% (null)
---------------
1       1223368391.324289
1       1223387106.373159
1       1223387970.229371
1       1223388365.505345
1       1223388695.267002
1       1223394795.770687
1       1223399014.448067

Just my 2 cents, tho ;)

Cheers

Arthur Girardi

Citando Felix Buenemann <[EMAIL PROTECTED]>:

> Hello Sergio,
>
> Sergio Minini (NETKEY) schrieb:
>> Felix,
>> I get this error.
>> I just copied+pasted your example.
>> Thanks- Sergio
>>
>> /*** Start ***/
>>
>> [EMAIL PROTECTED] root]# cat /var/log/maillog | /etc/mitch/spamdyke_stats.pl
>> Useless use of subtraction (-) in void context at   
>> /etc/mitch/spamdyke_stats.pl
>>          line 138 (#1)
> What does line 138 in you script say? In my version it is:
> print "------------\n";
>
> Which can hardly cause this error ...
>
> -- Felix
>
>
> _______________________________________________
> spamdyke-users mailing list
> [email protected]
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>


_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to