[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spamd effectiveness



On Sat, Sep 13, 2003 at 05:34:21PM -0500, Jay Moore wrote:

> Here's what I get:
> 
> # perl spamdstat -HLt
> Spamd statistics: (logfile: /var/log/spamd)
>                                                 Average
> Host                    Seconds Connections     (secs/conn)
> Hh:Mm:Ss        Last conn @
> Illegal division by zero at spamdstat line 138.
> 
> ?? - I'm probably doing something wrong.

Ok, my spamd.log line looks like this:
---
Sep  4 02:16:50 diogen spamd[22391]: 211.191.8.86: disconnected after 
51 seconds
---

spamdstat splits fields by /\s+/ into @data. $data[5] should be IP.
Every time new IP is found, $total_h is incremented by 1.
I guess it doesn't find any IPs in your logfile.

Can you send me part of your spamd.log file, so I an take a
closer look?

Damir