Page 1 of 1

Quarantine Report

Posted: 30 Nov 2015 09:30
by peter.munnelly
Hi,

Is there a way that I can set the quarantine report to only show spam that has been caught since the last quarantine report has been sent?

At the moment each quaratine report show all of the messages for the last 7 days.

Re: Quarantine Report

Posted: 05 Dec 2015 10:43
by shawniverson
Yes, set it to 1 day instead of 7

Look in /var/www/html/mailscanner/conf.php

Re: Quarantine Report

Posted: 10 Dec 2015 15:58
by peter.munnelly
Thanks for this, the issue I have is that I want to send a quarantine report out at regular intervals throughout the day, but I only want the report to show spam that has been caught since the last report was sent.

Is this possible?

Re: Quarantine Report

Posted: 12 Dec 2015 00:19
by shawniverson
That would require a change in logic in the quarantine_report.php script. There is no mechanism in place to track when the previous quarantine report was sent. If you are doing a regular interval (i.e. every 3 hours), you may be able to change the SQL query to look more aggressively at the timestamps.