Page 1 of 1

[SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

Posted: 03 May 2016 08:22
by Sephiroth
Hi!

I just Updated to 3.0.1.0, and now I get an email every hoer with following message:
/etc/cron.hourly/mailwatch_relay.sh:


Notice: Constant SHOW_GREYLIST already defined in /var/www/html/mailscanner/conf.php on line 257

Notice: Constant SHOW_GREYLIST already defined in /var/www/html/mailscanner/conf.php on line 257

Do I need to be worried?

Regards

Philippe

Re: After Update to 3.0.1.0 hourly cron daemon mails

Posted: 03 May 2016 08:47
by MaxMoon
Hi,

the Constant "SHOW_GREYLIST" is duplicated in conf.php. Comment one out like

// define('SHOW_GREYLIST', true);

Jörg

Re: After Update to 3.0.1.0 hourly cron daemon mails

Posted: 03 May 2016 10:16
by Sephiroth
That seems to have fixed the Problem :)

Re: [SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

Posted: 03 May 2016 16:17
by bikertrash
Excellent. Easy fix... thank you. :D

Re: [SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

Posted: 09 May 2016 07:37
by DaN
same problem here (/var/www/html/mailscanner/conf.php):

Code: Select all

// RPC port (defaults to 80 if not supplied)
// define('RPC_PORT', 80);
// RPC over SSL?? (defaults to port 443 unless RPC_PORT is supplied
// define('RPC_SSL', true);


// Greylisting menu item
define('SHOW_GREYLIST', true);

// Define MailWatch logo name
define('MW_LOGO', 'mailwatch-logo.png');

// Define MailScanner logo name
define('MS_LOGO', 'mailscannerlogo.gif');

// Greylisting menu item <--------------
define('SHOW_GREYLIST', true); <--------------
fix is in beta https://github.com/E-F-A/v3/blob/3da9fb ... 0.1.2-beta