Closed laurentvv closed 9 years ago
Thanks,
Maybe this is a configuration issue or a misunderstanding of the log entries.
Could you send me privately a slice of your log file as well as you sendmailanalyzer.conf file?
Regards,
Thanks for the log. After taking a look in you configuration and the log I can't find any problem. I think you made a mistake in searching the number of delivery. If you take a look to the log file you've sent to me, you will see that there is 10833 message with status Sent:
$ grep "stat=Sent" maillog | wc -l
10833
Then after running sendmailanalyzer, it returns 6559 outgoing messages for today but also 4334 for yesterday. That means that there is 10893 shipments reported by sendmailanalyzer. Have you include the date in the search ?
$ grep "^Sep 15 .*stat=Sent" maillog | wc -l
6533
yes i have include date in my search
now with grep command : 25477
sendmailanalyzer
2014-09-15 14:26 GMT+02:00 Darold notifications@github.com:
Thanks for the log. After taking a look in you configuration and the log I can't find any problem. I think you made a mistake in searching the number of delivery. If you take a look to the log file you've sent to me, you will see that there is 10833 message with status Sent:
$ grep "stat=Sent" maillog | wc -l 10833
Then after running sendmailanalyzer, it returns 6559 outgoing messages for today but also 4334 for yesterday. That means that there is 10893 shipments reported by sendmailanalyzer. Have you include the date in the search ?
$ grep "^Sep 15 .*stat=Sent" maillog | wc -l 6533
— Reply to this email directly or view it on GitHub https://github.com/darold/sendmailanalyzer/issues/22#issuecomment-55583096 .
How do you run sendmailanalyzer? Please join the related cron jobs?
You said: "now with grep command : 25477" but what is the current delivery count in sendmailanalyzer report?
0 1 * * * /usr/local/sendmailanalyzer/sa_cache > /dev/null 2>&1
I execute /usr/local/sendmailanalyzer/sa_cache after grep to see the same stat
2014-09-15 15:21 GMT+02:00 Darold notifications@github.com:
How do you run sendmailanalyzer? Please join the related cron jobs?
You said: "now with grep command : 25477" but what is the current delivery count in sendmailanalyzer report?
— Reply to this email directly or view it on GitHub https://github.com/darold/sendmailanalyzer/issues/22#issuecomment-55588779 .
You mean that after running /usr/local/sendmailanalyzer/sa_cache you have approximatively the same stat in the report than doing grep ?
no I do not have the same stat
2014-09-15 15:27 GMT+02:00 Darold notifications@github.com:
You mean that after running /usr/local/sendmailanalyzer/sa_cache you have approximatively the same stat in the report than doing grep ?
— Reply to this email directly or view it on GitHub https://github.com/darold/sendmailanalyzer/issues/22#issuecomment-55589537 .
I'm closing this issue because there's no other reports like that and some commit since this post may have solves the issue. I'm not able to reproduce the problem. Feel free to reopen this issue if the problem persist.
Best regards
Hello,
All shipments are not listed. Today, for example, is shown in 1800 shipments. If I do a search in / var / log / maillog, I said more than 10,000 email sent. As this problem?
Thank you in advance.