Size of messages log - retention period

Report bugs and workarounds
Post Reply
maxkmv
Posts: 53
Joined: 28 Apr 2015 14:40

Size of messages log - retention period

Post 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).
maxkmv
Posts: 53
Joined: 28 Apr 2015 14:40

Re: Size of messages log - retention period

Post 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
Post Reply