"Unknown" Reason in Message Quarantine Report
Re: "Unknown" Reason in Message Quarantine Report
No reduction in the number of "Unkowns"
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: "Unknown" Reason in Message Quarantine Report
Want to help me test an enhancement to quarantine_report.php?
May clear up your issue if it works.
May clear up your issue if it works.
Re: "Unknown" Reason in Message Quarantine Report
yes
lets test away
lets test away
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: "Unknown" Reason in Message Quarantine Report
I'll get a copy of the quarantine_report.php file ready for you to try with instructions.
Re: "Unknown" Reason in Message Quarantine Report
ok, standing by
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: "Unknown" Reason in Message Quarantine Report
Been away for a few days....back to working on this
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: "Unknown" Reason in Message Quarantine Report
Field test instructions:
Run this as root or edit conf.php and add manually
Code: Select all
cd ~
sudo mv /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php.orig
wget https://dl.efa-project.org/build/3.0.1.0-devel/quarantine_report.php.tar.gz
tar xzvf quarantine_report.php.tar.gz
sudo mv quarantine_report.php /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php
sudo chmod 755 /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php
Code: Select all
echo "" >> /var/www/html/mailscanner/conf.php
echo "// Hide Unknown and Clean Emails" >> /var/www/html/mailscanner/conf.php
echo 'define("HIDE_CLEAN_UNKNOWN", true);' >> /var/www/html/mailscanner/conf.php
- crazy4leet
- Posts: 9
- Joined: 23 Oct 2015 10:20
Re: "Unknown" Reason in Message Quarantine Report
This worked perfectly for me.
Restarted the MailScanner service and ran the report cron job - now all the unknowns are hidden.
Restarted the MailScanner service and ran the report cron job - now all the unknowns are hidden.
shawniverson wrote:It appears this is normal...believe it or not, when non-spam is included in the quarantine report.
Recommended fix. You probably don't want non-spam in your reports anyway...
To exclude non-spam from the quarantine report:
/var/www/html/mailscanner/conf.phpCode: Select all
// Hide Non Spam from quarantine reports define('HIDE_NON_SPAM', true);
-
- Posts: 10
- Joined: 19 Nov 2016 18:35
Re: "Unknown" Reason in Message Quarantine Report
Hi
On all my reports (standard out of the box settings) the reason on all mails are always UNKNOWN. It seems there is an error some where..
When i define Hide_Unknown true, no reports go out.. When everything is set to unknown the report settings is pretty useless because it will be all or nothing
Any help would be appriciated..
On all my reports (standard out of the box settings) the reason on all mails are always UNKNOWN. It seems there is an error some where..
When i define Hide_Unknown true, no reports go out.. When everything is set to unknown the report settings is pretty useless because it will be all or nothing
Any help would be appriciated..
- shawniverson
- Posts: 3649
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: "Unknown" Reason in Message Quarantine Report
Are you on 3.0.1.5?shareonline wrote:Hi
On all my reports (standard out of the box settings) the reason on all mails are always UNKNOWN. It seems there is an error some where..
When i define Hide_Unknown true, no reports go out.. When everything is set to unknown the report settings is pretty useless because it will be all or nothing
Any help would be appriciated..