Ok, if you can use PHP-CLI, try the attached scripts. Move arg_parse into
/usr/lib/php-cli/ or change the path in the main-script. Then you can use it
like this:

./spamdyke-domrep-cli -d example.com
example.com
-------------------------
DENIED_RDNS_MISSING:  490
TRAFFIC:  1728
DENIED:  1498
DENIED_RBL_MATCH:  372
DENIED_RDNS_RESOLVE:  384
ALLOWED:  452
DENIED_GRAYLISTED:  236
TIMEOUT:  4
DENIED_OTHER:  12
DENIED_SENDER_NO_MX:  4


Or for all with paging:
./spamdyke-domrep-cli -a | less

This is the analysis-routine used for my plesk-module.
So probably will work for you.

Greetz,
David



Peter schrieb:
> Am Montag, den 03.11.2008, 16:06 +0100 schrieb David Stiller:
>   
>> Yes, probably the log-file-format doesn't fit. That spamdyke-stats.pl parses
>> the default-format of qmail. Plesk writes another. The qmail-SMTP-Logs 
>> normally
>> begin with:
>>
>> @4000000048ee184815c9cc04
>>
>> and Plesk write human-readables:
>>
>> Nov  3 16:08:07 plesk-mail [...]
>>
>>     
> Sometime ago it had worked, but I am unshure what changed in past.
> :(
>
> It looks like:
> Nov  3 15:48:11 server spamdyke[26334]: ALLOWED from: [EMAIL PROTECTED] to:
> [EMAIL PROTECTED] origin_ip: 217.72.192.242 origin_rdns: fmmailgate04.web.de
> auth: (unknown)
>
> - Peter
>
>
> _______________________________________________
> spamdyke-users mailing list
> spamdyke-users@spamdyke.org
> http://www.spamdyke.org/mailman/listinfo/spamdyke-users
>   
_______________________________________________
spamdyke-users mailing list
spamdyke-users@spamdyke.org
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to