Automated Quarantine reports have stopped sending
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Automated Quarantine reports have stopped sending
upon running the php job i see
PHP Fatal error: Call to undefined function dbg() in /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php on line 197
Fatal error: Call to undefined function dbg() in /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php on line
Any ideas on this as nothing has been changed at our end?
Thanks
MM
PHP Fatal error: Call to undefined function dbg() in /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php on line 197
Fatal error: Call to undefined function dbg() in /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php on line
Any ideas on this as nothing has been changed at our end?
Thanks
MM
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Automated Quarantine reports have stopped sending
Please try removing or commenting out the dbg() function on line 197. This is a known bug. Planning on fixing it and releasing a small update to resolve for everybody.
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Re: Automated Quarantine reports have stopped sending
I tried this but then get similar errors relating to line 219, 221 and 222
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Automated Quarantine reports have stopped sending
Please update to 3.0.0.6 to resolve this issue completely.
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Re: Automated Quarantine reports have stopped sending
I've done that and now the quarantine report is now working but it is showing all emails received rather than those that have been marked as spam!
A bit more digging and it appears in the php is marks anything not catagorized as UNKNOWN (i.e anything that has been delivered already to the user). Is there a way to stop this appearing on the spam report?
A bit more digging and it appears in the php is marks anything not catagorized as UNKNOWN (i.e anything that has been delivered already to the user). Is there a way to stop this appearing on the spam report?
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Automated Quarantine reports have stopped sending
Looks like we have a regression...reopening issue.
https://github.com/E-F-A/v3/issues/30
Run the following (copy and paste) to fix manually.
https://github.com/E-F-A/v3/issues/30
Run the following (copy and paste) to fix manually.
Code: Select all
sudo sed -i "/^ ((to_address=%s) OR (to_domain=%s))$/ a\AND\n a.isspam>0" /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php
-
- Posts: 33
- Joined: 29 Aug 2014 11:27
Re: Automated Quarantine reports have stopped sending
Many thanks - this worked a treat
Re: Automated Quarantine reports have stopped sending
This started happening to me today after I ran an update yesterday, am I safe to run the above code?
I'm running EFA-3.0.0.6, by the way
I'm running EFA-3.0.0.6, by the way
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Automated Quarantine reports have stopped sending
Perfect, that worked a treat
Many thanks
Many thanks
Re: Automated Quarantine reports have stopped sending
I installed the appliance on ESX.
Created a view accounts and send some emails.
Everything seems to be working except 2 things:
When i run the command /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php i always get the messages that there are 0 spam messages. so there is no quarantine report send. But, there are spam messages? why will the script don't recognized the spam messages as spam?
=== Generating report for Fred type=U
==== Recipient e-mail address is Fred@mydomain.nl
==== Building list for Fred
==== Found 0 quarantined e-mails
the mail list in EFY shows:
14/12/14 20:25:20 efa-project.org@luvo.eu.. fred@mydomain.nl Welcome to "efa-project.org" 3Kb -0.01 Clean
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 4/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -0.03 Clean
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 5/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -0.03 Clean
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 3/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 1.8Kb 1001.95 Spam
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 7/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -0.03 Clean
[ ] 14/12/14 20:03:36 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 6/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -1.13 Clean
There is 1 spam message?
Further i cannot put anything in the personal white or blacklist.
Only the administrator can?
Created a view accounts and send some emails.
Everything seems to be working except 2 things:
When i run the command /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php i always get the messages that there are 0 spam messages. so there is no quarantine report send. But, there are spam messages? why will the script don't recognized the spam messages as spam?
=== Generating report for Fred type=U
==== Recipient e-mail address is Fred@mydomain.nl
==== Building list for Fred
==== Found 0 quarantined e-mails
the mail list in EFY shows:
14/12/14 20:25:20 efa-project.org@luvo.eu.. fred@mydomain.nl Welcome to "efa-project.org" 3Kb -0.01 Clean
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 4/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -0.03 Clean
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 5/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -0.03 Clean
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 3/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 1.8Kb 1001.95 Spam
[ ] 14/12/14 20:03:40 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 7/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -0.03 Clean
[ ] 14/12/14 20:03:36 securitycheck@emailsecuritycheck.net fred@mydomain.nl Test mail 6/7 (ID=bYF!JqetYO9o7HvFGhWvow==) 2.1Kb -1.13 Clean
There is 1 spam message?
Further i cannot put anything in the personal white or blacklist.
Only the administrator can?
- shawniverson
- Posts: 3783
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Automated Quarantine reports have stopped sending
Could it be that enough time hasn't passed? I think it needs to be at least past midnight before they start showing up in reports....
Re: Automated Quarantine reports have stopped sending
I received the reports now, i think the problem is that my username was not my email adres.
After u changed this it works.
I use 3 email aliases, it would be nice that the spam for these messages could be summarized in one report.
Now i get 3 reports.
thanks for the reply.
After u changed this it works.
I use 3 email aliases, it would be nice that the spam for these messages could be summarized in one report.
Now i get 3 reports.
thanks for the reply.