1

Topic: Error in configuration file /root/iRedMail-0.7.4/config line 2

My OS is Centos 6.2x64 fresh install

When installing iRedMail-0.7.4 & iRedMail-0.8.0-beta4, I get same error:
Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /root/iRedMail-0.7.4/config line 2: Expecting '='
doveconf: Error: managesieve-login: dump-capability process returned 89
doveconf: Fatal: Error in configuration file /root/iRedMail-0.7.4/config line 2: Expecting '='

The first line in config is blank. If I remove it and restart dovecot, things seem to work fine.

Any ideas?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Error in configuration file /root/iRedMail-0.7.4/config line 2

This is a known issue on CentOS 6, still no idea why it happenes.
But it doesn't impact mail service at all, it's safe to ignore it.

3

Re: Error in configuration file /root/iRedMail-0.7.4/config line 2

Hi schmerold2,

This long live bug was fixed moment ago, commit log:
https://bitbucket.org/zhb/iredmail/comm … 85af650e5c

The root cause is Dovecot reads config file location from global variable CONFIG_FILE on CENTOS 6, but it's set to iRedMail config file (/root/iRedMail-x.y.z/config) by default. It's now renamed to IREDMAIL_CONFIG_FILE instead to avoid name space conflict.