I have edited the report so it only lists 1 day(s) worth of spam. I have also edited the quranatine_report.php so it only lists spam and not legit emails. Since doing this I am no longer getting the daily report
I have looked under cron jobs and cant see the command that would trigger the report, I wanted to try running it manually to see if I could spot what the problem was.
[admin@tower4 ~]$ sudo /usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php: line 3: ?php: No such file or directory
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php: line 5: /bin: is a directory
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php: line 6: MailWatch: command not found
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php: line 7: syntax error near unexpected token `C'
/usr/local/bin/mailwatch/tools/Cron_jobs/quarantine_report.php: line 7: ` Copyright (C) 2003 Steve Freegard (smf@f2s.com)'
Also When I run EFA-Configure I get command not found?
I only ever want to see spam in the quarantine report. Why would you want to see non-spam?
I also change the report to only include the last day only by editing /var/www/html/mailscanner/conf.php as follows:
change
define(QUARANTINE_REPORT_DAYS, 7);
to
define(QUARANTINE_REPORT_DAYS, 1);
Would it be possible to have this as a default? I can see no reason why you would want to be told day after day what the last seven days contained.
Thanks
Colin
colin wrote:I only ever want to see spam in the quarantine report. Why would you want to see non-spam?
I also change the report to only include the last day only by editing /var/www/html/mailscanner/conf.php as follows:
change
define(QUARANTINE_REPORT_DAYS, 7);
to
define(QUARANTINE_REPORT_DAYS, 1);
Would it be possible to have this as a default? I can see no reason why you would want to be told day after day what the last seven days contained.
Thanks
Colin
How did you change the report to only show spam? much appreciated. never mind fixed it see below
STEVE
Last edited by Socal_Steve on 08 May 2014 22:28, edited 2 times in total.