1

Topic: Extract Statistics

It is possible get the number of read/unread/total emails of one account from a external application?

Thanks!

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: FreeBSD 10
- Related log if you're reporting an issue:
====

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Extract Statistics

You can achieve this with standard IMAP protocol, write your own script in PHP/Python/Perl/....

3

Re: Extract Statistics

Ok, but if I use the IMAP protocol I must have all the users and passwords, right?
I'm looking for a solution to put this info in a admin dashboard.

4

Re: Extract Statistics

danielkist wrote:

Ok, but if I use the IMAP protocol I must have all the users and passwords, right?
I'm looking for a solution to put this info in a admin dashboard.

Yes, and we have Dovecot Master User for this purpose, you don't need to know users' passwords, just use Dovecot Master User and you can access all mailboxes.