[SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

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

[SOLVED] After Update to 3.0.1.0 hourly cron daemon mails

Post by Sephiroth » 03 May 2016 08:22

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 » 03 May 2016 08:47

Hi,

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

// define('SHOW_GREYLIST', true);

Jörg

Sephiroth
Posts: 19
Joined: 04 Jun 2014 13:47

Re: After Update to 3.0.1.0 hourly cron daemon mails

Post by Sephiroth » 03 May 2016 10:16

That seems to have fixed the Problem :)

User avatar
bikertrash
Posts: 13
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 » 03 May 2016 16:17

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 » 09 May 2016 07:37

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