1

Topic: How to save incoming ang outgoing mails to database?

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.8.7
- Linux/BSD distribution name and version:  Ubuntu 14.04.1 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- Related log if you're reporting an issue: n/a
====

Hi,

We are using iRedMail for 2 years now. We would like to know if it is possible for us to save incoming and outgoing mails to database?

Our mail server is used for mail notificatio (registration) and contact us page of our website. We plan to create a page that shows the list of incoming and outgoing mails to/from any mailbox under our domain.

Is it achievable in iRedMail free edition? Even if sending mail using telnet, php or any other programming language?

Your input to our concern will be much appreciated.

Thank you very much!

----

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

2

Re: How to save incoming ang outgoing mails to database?

If you don't need to show full mail body, you can try to get basic info of in/out mails in amavisd database, table 'msgs' and 'msgrcpt'.

3

Re: How to save incoming ang outgoing mails to database?

This is noted.

Thank you so much for your help smile