stalwartlabs / mail-server

Secure & Modern All-in-One Mail Server (IMAP, JMAP, POP3, SMTP)
https://stalw.art
3.53k stars 135 forks source link

[enhancement]: cli to stat the emails of an user #530

Open williamdes opened 2 weeks ago

williamdes commented 2 weeks ago

Which feature or improvement would you like to request?

I'd like to see this feature: a cli subcommand to stat the user emails.

For example stalwartlabs-cli user-info williamdes@wdes.fr Result:

Account size: xyz KB
Last received email time: <date>
Last sent email time: <date>
Last login: <date>
Number of emails: <count>
Number of folders: <count>

This is an idea, but it could be useful to have.

In fact I think the webadmin is missing a list of received and sent emails by users. Like rspamd provides. But with a config option to sensor the email subjects.

Is your feature request related to a problem?

I'm having a problem with knowing if one user is really using it's account. In fact I am migrating my servers but for some unexpected reason some users seem to have connected to one that I had DNS disconnected. The result: I have users and need a cli to know if it's only a login or if they received emails.

Code of Conduct