1

Topic: Mail log in the admin panel

======== Required information ====
- iRedMail version: 0.9.8
- Linux distribution name and version: CentOS Linux release 7.5.1804 (Core)
- Store mail accounts in which backend: MySQL
- Web server: nginx/1.12.2
- Manage mail accounts with iRedAdmin-Pro? iRedAdmin-Pro-SQL 2.9.0
====

Hi!

I need to extend the existence of the message log in the administration panel.
Where should I change the database cleaning options?

----

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

2

Re: Mail log in the admin panel

Default setting is set in /var/www/iredadmin/libs/default_settings.py:

IREDADMIN_LOG_KEPT_DAYS = 365

You should copy this setting to /var/www/iredadmin/settings.py then set a proper value.

3 (edited by ppnm 2018-09-26 14:03:07)

Re: Mail log in the admin panel

ZhangHuangbin wrote:

Default setting is set in /var/www/iredadmin/libs/default_settings.py:

IREDADMIN_LOG_KEPT_DAYS = 365

You should copy this setting to /var/www/iredadmin/settings.py then set a proper value.


Thank you.
But I did not mean AdminLog.
I need to have a history of sent and received emails in the admin panel for longer than three days.
https://MY-SERVER/iredadmin/activities/sent
and
https://MY-SERVER/iredadmin/activities/received

Post's attachments

2.png
2.png 16.1 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4

Re: Mail log in the admin panel

Default settings are set in /var/www/iredadmin/libs/default_settings.py:

AMAVISD_REMOVE_MAILLOG_IN_DAYS = 3
AMAVISD_REMOVE_QUARANTINED_IN_DAYS = 7

You should copy them to /var/www/iredadmin/settings.py then set a proper value.