Brent here is what I get:
[r...@mail spamdyke]# cat /var/log/qmail/smtp/current | tai64nlocal |
./spamdyke-stats
Use of uninitialized value in substr at ./spamdyke-stats line 57, <> line
1 (#1)
(W uninitialized) An undefined value was used as if it were already
defined. It was interpreted as a "" or a 0, but maybe it was a mistake.
To suppress this warning assign a defined value to your variables.
To help you figure out what was undefined, perl tells you what operation
you used the undefined value in. Note, however, that perl optimizes your
program and the operation displayed in the warning may not necessarily
appear literally in your program. For example, "that $foo" is
usually optimized into "that " . $foo, and the warning will refer to
the concatenation (.) operator, even though there is no . in your
program.
Use of uninitialized value in substr at ./spamdyke-stats line 57, <> line
243 (#1)
Use of uninitialized value in substr at ./spamdyke-stats line 57, <> line
420 (#1)
---------------- Summary ----------------
Allowed: 0 0.00%
Timeout: 0 0.00%
Errors : 0 0.00%
Denied : 0 0.00%
Total : 0 0.00%
> [email protected] wrote:
>> It works great as long as you are using the default log location for
>> Spamdyke (/var/log/maillog). I would love to see it work on the qtp
>> defaulted installation though, as I would imagine that's how most people
>> are implementing it on this list. I am not sure what it needs to make
>> it
>> work. Maybe I can figure out what it is looking for. I have no clues
>> on
>> perl scripting, but sometimes can figure out the simple stuff, and I am
>> betting this is a simple fix.
>>
> Seeing as I got this from the Spamdyke mailing list it makes sense that
> it works for the default Spamdyke log location but has trouble with
> other log options. I seem to remember some discussion on the Spamdyke
> mailing list about getting it to work with qmail logs but I don't
> remember the details.
>
> What happens when you pipe a qmail log through tai64nlocal before
> sending it to the stats script?
>
>
> Brent Gardner
>
>
> ---------------------------------------------------------------------------------
> Qmailtoaster is sponsored by Vickers Consulting Group
> (www.vickersconsulting.com)
> Vickers Consulting Group offers Qmailtoaster support and
> installations.
> If you need professional help with your setup, contact them today!
> ---------------------------------------------------------------------------------
> Please visit qmailtoaster.com for the latest news, updates, and
> packages.
>
> To unsubscribe, e-mail:
> [email protected]
> For additional commands, e-mail:
> [email protected]
>
>
>
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]