Change Frequency of Quarantine Reports to End Users

Questions and answers about how to do stuff
Post Reply
User avatar
Socal_Steve
Posts: 30
Joined: 20 Mar 2014 20:10
Location: Laguna Beach, California, USA
Contact:

Change Frequency of Quarantine Reports to End Users

Post by Socal_Steve »

Hello All - I'm new to EFA and have been a Barracuda guy for the last 7+ years. Let me start off by saying thank you to all the hard work that has gone into EFA and the good people on this forum. The Barracuda just is not cutting it anymore and out of the box EFA is kicking it's butt.

The question i'm trying to figure out is how to schedule a daily email to the end users that contains a list of messages blocked with options to release them if they were quarantined (similar to barracuda). I see that in /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php this is already setup. I can't seem to find a cron job that references this file so i can trigger it. I have changed the frequency of the quarantine report from the default 7 days to 1 in the /var/www/html/mailscanner/conf.php. What am i totally missing here? THANKS
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Change Frequency of Quarantine Reports to End Users

Post by shawniverson »

Bump it up to 2 days. 1 day you won't get anything because the reports go out at around 3am. 1 day is interpreted from midnight - 3am...I had mine set at 1 day and was scratching my head for a few until I realized this.

Cron job is in /etc/cron.daily
User avatar
Socal_Steve
Posts: 30
Joined: 20 Mar 2014 20:10
Location: Laguna Beach, California, USA
Contact:

Re: Change Frequency of Quarantine Reports to End Users

Post by Socal_Steve »

thanks will give this a try.
User avatar
Socal_Steve
Posts: 30
Joined: 20 Mar 2014 20:10
Location: Laguna Beach, California, USA
Contact:

Re: Change Frequency of Quarantine Reports to End Users

Post by Socal_Steve »

Tried this and then ran the cron manually and still no mail?? i'll check the mail logs later. thanks
colin
Posts: 99
Joined: 13 Feb 2014 16:09

Re: Change Frequency of Quarantine Reports to End Users

Post by colin »

This is all a bit strange. My installation was set to send quarantine reports for the previous day only by default and worked out of the box. Providing that the user is set up to receive reports and has the correct filters in place, I don't see why it isn't working.

You can fire off the reports manualy from a ssh session by using "sudo /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php" and the output will show you who it is compiling reports for.
sharktech
Posts: 89
Joined: 14 Jan 2014 14:23

Re: Change Frequency of Quarantine Reports to End Users

Post by sharktech »

Morning all

Can there not be the option as with ESVA where it sent the alert email at the time of blocking? this means that the users wont have to either login or wait for the report.

Thanks
User avatar
Socal_Steve
Posts: 30
Joined: 20 Mar 2014 20:10
Location: Laguna Beach, California, USA
Contact:

Re: Change Frequency of Quarantine Reports to End Users

Post by Socal_Steve »

colin wrote:This is all a bit strange. My installation was set to send quarantine reports for the previous day only by default and worked out of the box. Providing that the user is set up to receive reports and has the correct filters in place, I don't see why it isn't working.

You can fire off the reports manual from a ssh session by using "sudo /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php" and the output will show you who it is compiling reports for.
Tried this and got nothing in return..
[root@sift admin]# sudo /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php
[root@sift admin]#


it just paused for a second and then returned to a command prompt. I must be really missing something here.

Should i have to specify certain users to receive quarantine reports?

Thanks
colin
Posts: 99
Joined: 13 Feb 2014 16:09

Re: Change Frequency of Quarantine Reports to End Users

Post by colin »

Yes, you need to go to tools/links then User Management and edit a user, then check the box to Send Daily Report and add in the recipient.
User avatar
Socal_Steve
Posts: 30
Joined: 20 Mar 2014 20:10
Location: Laguna Beach, California, USA
Contact:

Re: Change Frequency of Quarantine Reports to End Users

Post by Socal_Steve »

colin wrote:Yes, you need to go to tools/links then User Management and edit a user, then check the box to Send Daily Report and add in the recipient.
Thank you so much. sometimes it's the simplest things. Coming from a barracuda background this is very foreign having to create users to receive the quarantine reports. Is there an easy way to enable quarantine reports across the board for all good emails in a domain by default? Also is there a good guide to modifying the quarantine report to only show email that were blocked and not all email? We are using this for many domains as a relay so having to create hundreds of users in not going to be that fun. :(

Thanks so much - sorry for the newb questions.
cdburgess75
Posts: 49
Joined: 11 Jun 2014 21:43

Re: Change Frequency of Quarantine Reports to End Users

Post by cdburgess75 »

Is it possible to send around 7am?
Post Reply