Remove the files from the directory and cron.hourly emails stop.
Append the file contents to /etc/MailScanner/MailScanner.conf and there is no email from cron.hourly.
Not sure why it does not like %rules-dir% in the .conf files...
Last edited by dbrunt on 20 Jan 2017 19:22, edited 3 times in total.
Subject: Cron <root@efa> run-parts /etc/cron.hourly
/etc/cron.hourly/mailwatch_relay.sh:
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486
Notice: Undefined index: %rules-dir% in /var/www/html/mailscanner/functions.php on line 1486