Page 1 of 1

Size of messages log - retention period

Posted: 29 Nov 2017 17:02
by maxkmv
Hi Community!

Not sure if this was asked before, but after one of the recent updates, for some reason I can only see the history of all messages going back 4 days. E.g. previously I could see a log of past 90 days or so..This is very useful in searches to see if the same IP address was sending me spam, for example..

How do I enable to see it like before? I want to retain a history of 2-3 months (I don't need the actual emails, just the email headers).

Re: Size of messages log - retention period

Posted: 07 Dec 2017 10:42
by maxkmv
Found it myself.

In /var/www/html/mailscanner/conf.php

change RECORD_DAYS_TO_KEEP and AUDIT_DAYS_TO_KEEP to xxxx - where xxxx is number of days