Brent Gardner wrote:
Casey Price wrote:
I'm having a problems on one of my toasters...just updated with qtp-newmodel and now I'm having trouble with the Spamdyke-Stats-Report.pl script. It runs without error, but the email that it sends out an email without any stats:

---------------- Summary ----------------
Allowed:        0    0.00%
Timeout:        0    0.00%
Errors :        0    0.00%
Denied :        0    0.00%
Total  :        0    0.00%

However, when I run the following command: cat /var/log/qmail/smtp/current | ./spamdyke-stats

I get the following:

    6998   46.77%  DENIED_GRAYLISTED
    5780   38.63%  DENIED_RDNS_MISSING
    1186    7.92%  ALLOWED
     690    4.61%  DENIED_RBL_MATCH
--------------- Breakdown ---------------
-----------------------------------------
     154    1.02%  DENIED_SENDER_NO_MX
     151    1.00%  TIMEOUT
       1    0.00%  DENIED_OTHER

---------------- Summary ----------------
Allowed:     1186    7.92%
Timeout:      151    1.00%
Errors :        0    0.00%
Denied :    13623   91.06%
Total  :    14960  100.00%

Any idea why? I was having a few issues with perl modules installed from CPAN, so I went through and made sure everything was up to date. It was working fine up until a few days ago, and I'm fairly certain the only the I've changed on my end was updating QMT.

Any ideas?

Thanks!

Casey Price

Smile Global Technical Support
Submit or check trouble tickets http://billing.smileglobal.com
www.smileglobal.com <http://www.smileglobal.com>

Follow us on Twitter <https://twitter.com/#%21/SmileInternet>
Like us on Facebook <https://www.facebook.com/smileglobal>
In the Spamdyke-Stats-Report.pl script, there's $ScriptRoot, $TempFile and $SMTPLogRoot. Check the rights on these to make sure they weren't changed.

I updated clam the other day using qtp-newmodel and I had to fix rights on /var/log/qmail/smtp. Some of my scripts I was running interactively weren't working right because of this. I fixed the rights issue before the daily report jobs ran, so I don't know if they would have been affected.


Brent Gardner


More info:

My $ScriptRoot points to /usr/share/qmt/scripts, looks like this:

drwxr-xr-x   3 vpopmail vchkpw 4.0K Oct 24 10:17 scripts


My $TempFile points to $ScriptRoot/tmp/spamdyke-stats-report. The /tmp/ in there looks like this:

drwxr-xr-x 2 vpopmail vchkpw 4.0K Dec 16 02:00 tmp


My $SMTPLogRoot points to /var/log/qmail/smtp, looks like this:

drwxr-xr-x  3 qmaill qmail 4.0K Dec  6 06:56 smtp


I run the Spamdyke-Stats-Report.pl as a root, crontab entry looks like this:

05 00 * * * root /usr/share/qmt/scripts/Spamdyke-Stats-Report.pl 2>&1 > /dev/null



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: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to