Statistics for user account
See original GitHub issueDespite of having installed the newest wildduck-haraka plugin with the 150message/hour quota fix, some of my user accounts get disabled:
Jun 12 09:44:05 mail haraka[1177]: [NOTICE] [94809DF0-873C-4139-9D3C-7F267772E370.3]
[core] sender <whoami@gmail.com> code=CONT msg=""
Jun 12 09:44:05 mail haraka[1177]: [INFO] [94809DF0-873C-4139-9D3C-7F267772E370.3]
[core] hook=rcpt plugin=wildduck function=hook_rcpt params=<myuser@awesomeness.com> retval=DENYSOFT msg="[object Object]"
Jun 12 09:44:05 mail haraka[1177]: [NOTICE] [94809DF0-873C-4139-9D3C-7F267772E370.3]
[core] recipient <myuser@awesomeness.com> code=DENYSOFT msg="[object Object]" sender=whoami@gmail.com
Reading through the api documentation: https://api.wildduck.email/#api-Mailboxes-GetMailbox
There are no statistics or metric queries. Which is rather vital imho for debugging. So I would like to request a statistics for received and send messages for hour/day/month.
The API could simply extend the get user request:
GET https://api.wildduck.email/users/:id
and in the response have some additional fields:
"metrics": {
"hourly": "142",
"daily": "1230",
"monthly: "15632",
"lastUpdated: "2018-06-08T11:19:10.911Z"
},
The issue (quote reached) is especially annoying, since it persists across reboots, and config file
editing (/opt/haraka/plugins/wildduck/config/wildduck.yaml
).
(inside of redis-cli
a flushall
is required)
Any comments?
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (15 by maintainers)
Top Results From Across the Web
View User Statistics - Oracle Help Center
To view user statistics: After you sign in to the Oracle Content Management web application as an administrator, click Analytics in the navigation...
Read more >Who Are You? A Statistical Approach to Measuring User ...
In this work, we perform the first public evaluation of a classification system for user authentication. In particular: (i) We develop a statistical...
Read more >Login Statistics by User - EdApp
This article summarizes the features of the login statistics by user report, found under the 'Analytics' tab · Who has logged in to...
Read more >Account Statistics - IceWarp
Account Statistics. This feature allows you to monitor the email usage of your users. This feature keeps a log of all sent and...
Read more >Active Users - Analytics Help - Google Support
Sign in to Google Analytics. Navigate to your view. Open Reports. Select Audience > Active Users. Active Users data is available in all...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Good idea, added this to latest commit - if a counter key value is modified for an user then the according counter in Redis is reset. So in your case if you change imapMaxUpload for an userthen the counter is reset to 0
When I raise the upload limit (I hit the 10GiB/24h limit while importing), I also need to flush the redis database. (
redis-cli flushall
)Would be nice if wildduck would update the relevant redis information.