Page 1 of 1

Exim4 Can't Start

Posted: Sat Apr 02, 2016 7:29 pm
by grovepixels
I'm getting an error with Exim4, tried to remove and install but still getting this error:

Code: Select all

2016-04-02 12:27:57 Exim configuration error in line 38 of /var/lib/exim4/config.autogenerated.tmp:
  main option "acl_smtp_mime" unknown
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing 
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg: error processing package exim4-config (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of exim4-base:
 exim4-base depends on exim4-config (>= 4.30) | exim4-config-2; however:
  Package exim4-config is not configured yet.
  Package exim4-config-2 is not installed.
  Package exim4-config which provides exim4-config-2 is not configured yet.

dpkg: error processing package exim4-base (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4-daemon-light:
 exim4-daemon-light depends on exim4-base (>= 4.82); however:
  Package exim4-base is not configured yet.

dpkg: error processing package exim4-daemon-light (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of exim4:
 exim4 depends on exim4-base (>= 4.82); however:
  Package exim4-base is not configured yet.
 exim4 depends on exim4-daemon-light | exim4-daemon-heavy | exim4-daemon-custom; however:
  Package exim4-daemon-light is not configured yet.
  Package exim4-daemon-heavy is not installed.
  Package exim4-daemon-custom is not installed.

dpkg: error processing package exim4 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 exim4-config
 exim4-base
 exim4-daemon-light
 exim4
E: Sub-process /usr/bin/dpkg returned an error code (1)
Anybody have ideas to fix this?

Re: Exim4 Can't Start

Posted: Tue May 21, 2019 7:10 pm
by adri1177
Hello,
i'm facing this problem, did you manage to solve it?
thank you

Re: Exim4 Can't Start

Posted: Mon Jul 29, 2019 4:36 pm
by dreiggy
Hi,

please try to reset exim configuration:

Code: Select all

cp /etc/exim/exim4.conf /etc/exim/exim4.conf-backup
wget http://c.vestacp.com/0.9.8/ubuntu/exim4.conf.template -O /etc/exim/exim4.conf
service exim restart
I'm not sure if paths are correct for ubuntu. I'm using CentOS, so file locations differs.