[SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

Report bugs and workarounds
Post Reply
Sephiroth
Posts: 25
Joined: 04 Jun 2014 13:47

[SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

Post 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
Last edited by Sephiroth on 03 May 2016 10:19, edited 1 time in total.
MaxMoon
Posts: 9
Joined: 08 Dec 2015 14:01

Re: After Update to 3.0.1.0 hourly cron daemon mails

Post by MaxMoon »

Hi,

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

// define('SHOW_GREYLIST', true);

Jörg
Sephiroth
Posts: 25
Joined: 04 Jun 2014 13:47

Re: After Update to 3.0.1.0 hourly cron daemon mails

Post by Sephiroth »

That seems to have fixed the Problem :)
User avatar
bikertrash
Posts: 49
Joined: 03 Feb 2016 12:53
Location: San Diego, CA
Contact:

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

Post by bikertrash »

Excellent. Easy fix... thank you. :D
"If it ain't broke, it needs a lot more fix'n."
DaN
Posts: 240
Joined: 19 Nov 2014 10:04
Location: Earth

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

Post 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
Post Reply