Opened 15 years ago

Closed 13 years ago

Last modified 14 years ago

#110 closed defect (fixed)

Add tracking for statistics on a per-domain basis

Reported by: rjl Owned by: rjl
Priority: high Milestone: 1.1.0
Component: General Version: 1.0.0 RC6
Severity: major Keywords: stats statistics domain
Cc:

Description

Stats are currently tracked on a per-user basis, but since a user account can contain multiple e-mail addresses (potentially from different domains), it is not possible to use this data to provide per-domain statistics.

To provide a proper stats summary for domains, the domain-default (@domain) user's entry in the maia_stats table should be used. Update this account's stats appropriately whenever mail is assigned to a user account, if the recipient address falls in this domain.

Change History (5)

comment:1 Changed 14 years ago by Ryan Delany

I would also love to see this feature incorporated. To take it a step further, I want to see the the domain totals include all the stats even if specific users exist for that domain. Currently if you have a user, user@…, their personal stats aren't included if you view the stats for the @domain.com object. I would like the ability to see aggregated stats for a single domain, and aggregated stats for the administrator of multiple domains.

comment:2 Changed 14 years ago by dmorton

A better step would be to alter stats to be tracked per email address, rather than per maia user. Then maia user stats would be the sum of their address stats, and domain stats would be the sum of all addresses in the domain. Also, this would allow seperate tracking of domain default stats and specfic users within the domain.

comment:3 Changed 14 years ago by dmorton

  • Milestone changed from 1.0.0 to 1.1.0
  • Resolution set to fixed
  • Status changed from new to closed

This is the whole point behind the 1.1 branch.

comment:4 Changed 13 years ago by dmorton

  • patch set to 0
  • Priority changed from normal to high
  • Resolution fixed deleted
  • Severity changed from normal to major
  • Status changed from closed to reopened

reopening until we merge to trunk

comment:5 Changed 13 years ago by dmorton

  • Resolution set to fixed
  • Status changed from reopened to closed

[1129] and such breaks stats apart into per address and can be used to sum

a domain.

Note: See TracTickets for help on using tickets.