Quarantine Report

Questions and answers about how to do stuff
Post Reply
peter.munnelly
Posts: 23
Joined: 25 Nov 2015 16:31

Quarantine Report

Post 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.
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Quarantine Report

Post by shawniverson »

Yes, set it to 1 day instead of 7

Look in /var/www/html/mailscanner/conf.php
peter.munnelly
Posts: 23
Joined: 25 Nov 2015 16:31

Re: Quarantine Report

Post 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?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Quarantine Report

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