Message listing limit

Questions and answers about how to do stuff
Post Reply
fredcyr
Posts: 4
Joined: 15 Dec 2014 21:36

Message listing limit

Post 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
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: Message listing limit

Post 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.
Version eFa 4.x now available!
Post Reply