Page 1 of 1

how can i search up to a month of logs

Posted: 12 Mar 2018 15:25
by curibe
today, my search and report tool can look up email logs up to the same week. how can i extend so i can search up thru a month.

Re: how can i search up to a month of logs

Posted: 12 Mar 2018 16:15
by pdwalker
From the EFA Configuration menu, select
6) MailWatch Settings
3) Quarantine Retention

Then set the value to 30 days.

You can also edit /var/www/html/mailscanner/conf.php and change the values of:

Code: Select all

// Define how many days of emails to keep
define('RECORD_DAYS_TO_KEEP', 60);
// Define how many days to audit logs to keep
define('AUDIT_DAYS_TO_KEEP', 60);
I believe the most correct way is to use the EFA configuration. I forget how I set mine; probably the second way.

Be careful you don't run out of disk space.

Re: how can i search up to a month of logs

Posted: 09 Apr 2018 15:20
by curibe
i dont think this allows me to extend the search scope in "Search and Report". i would think the default settings would show 7 days. it shows the default to be 60.

Re: how can i search up to a month of logs

Posted: 10 Apr 2018 07:53
by pdwalker
The search will query whatever records you have available in the database. In my case, I've set it to 60 days, after which a housekeeping process will remove the older entries automatically.

There is no reason why I cannot store more or fewer days - the choice is mine, limited by my disk space.