Page 1 of 1

Message listing limit

Posted: 27 Nov 2015 13:46
by fredcyr
Hi,

Is there possible to modify the number of message that EFA keeps in the message listing? My server was installed last July, but the listing only starts on October 1st.

Is this possible to archive this listing elsewhere for consulting?

Is the any hardware constraint of doing such things? The servers scans around 400-800 emails per day.

Thanks

Re: Message listing limit

Posted: 27 Nov 2015 14:03
by darky83
It can be changed in the /var/www/html/mailscanner/conf.php file, search for 'RECORD_DAYS_TO_KEEP' by default we have set it to 60 day's

Or use a oneliner (below will set it to 300 day's) :

Code: Select all

DAYS=300 && sed "/^define('RECORD_DAYS_TO_KEEP', 60);/ c\define('RECORD_DAYS_TO_KEEP', $DAYS);" /var/www/html/mailscanner/conf.php
Mail's that are stored will not be cleaned so your storage needs will grow.