Hi Guys,
To clarify, the main number is from:
Code:
/usr/local/directadmin/data/users/username/user.usage
from the field "email_deliveries_outgoing", which is copied to the show_all_users.cache after the nightly tally, or if that User needs a cache update.
They should be the same number.
This is the "computed" outgoing total, where DA is actively checking for duplicate IDs from the bandwidth.tally file (origially from the /etc/virtual/usage/username.bytes). Duplicates are removed.
The main number does add both the email_deliveries_outgoing value (which can be in the show_all_users.cache file), and the "today" sends (which are never cached).
The "today" number is based solely on the exim.pl and does it's best at filtering out duplicate ID (it's better at it with newer exim.pl versions) by tracking the IDs in:
/etc/virtual/usage/username_ids
but then a new level of complexity comes in when it's a forwarder to many addresses on the same ID, as each would be a unique message.
Anyway, I'm not 100% clear if that answers any confusion, or if indeed there is something that isn't quite correct, let me know.
John