darold / sendmailanalyzer

Sendmail log Analyzer is a tool to monitor sendmail usage and generate HTML and graph reports. It reports all you ever wanted to know about email trafic on your network. You can also use it in ISP environment with per domain and per mailbox report.
http://sendmailanalyzer.darold.net/
GNU General Public License v3.0
76 stars 13 forks source link

Top Sender Statistics showing incorrect numbers #53

Closed cantlep closed 7 years ago

cantlep commented 7 years ago

Hi,

It looks like the top senders stats (and possibly recipients, too are showing figures that are way off). For some reason, sometimes the entries in SA show a x5 or x2 next to the number of emails which makes the figures incorrect. For example. I sent you @darold 2 emails today from my personal a/c. However, when viewing the SA stats, it actually shows the first mail as x5.

x5

And as you can see from the MTA, it was only 1 mail.

gilleslog

For info, the second email I sent to you only appears as one (correctly) in the SA stats. On a side note, not sure my the magic from my log contains a contuse.com ID instead of my own domain (that only happened with that 1 email - but that's an issue for me to resolve)

This is even more apparent with recipients.

I received 37 emails today to my primary address. MTA logs confirm. SA shows 37 lines when I click the entry (correct). but actually shows a figure of 182 in the statistics and this is because every email has a x5 or a x10 next to it.

Cheers

Paul

darold commented 7 years ago

Got it, commit 7ea5dd7 might solve this issue. Recipient entries was duplicated when the message was also registered as Spam by spamd.

cantlep commented 7 years ago

Confirmed fixed. Much appreciated