[Mon Jan 16 13:52:17 2017] [error] [client XX>XX>XX>XX] PHP Notice: Use of undefined constant SHOW_MORE_INFO_ON_REPORT_GRAPH
- assumed 'SHOW_MORE_INFO_ON_REPORT_GRAPH' in /var/www/html/mailscanner/rep_total_mail_by_date.php on line 296, referer: https://sansspam.private.lan/mailscanner/reports.php
Cause is missing define ---see /var/www/html/mailscanner/conf.php.example
add in /var/www/html/mailscanner/conf.php
Code: Select all
// Show supplemental Postfix info in report, enable when using Postix_relay tool
define('SHOW_MORE_INFO_ON_REPORT_GRAPH', false);
define('LDAP_PROTOCOL_VERSION', 3);
define('QUARANTINE_MAIL_PORT', '25');
define('MS_SHARE_DIR', '/usr/share/MailScanner/'); // path for ConfigDefs.pl file
/etc/init.d/MailScanner restart