Page 1 of 1

How to reinstall exim4

Posted: Thu Aug 20, 2015 8:45 am
by nebulos
Hi
I can't start my email server.. exim4 won't start in vesta cp.

How do i reinstall exim4 with vesta?

I really need to get emails working.

Thanks :)

Re: How to reinstall exim4

Posted: Thu Aug 20, 2015 11:14 am
by skurudo
For Debian:

Code: Select all

aptitude reinstall packagename
or

Code: Select all

apt-get install --reinstall packagename

Re: How to reinstall exim4

Posted: Thu Aug 20, 2015 11:15 am
by skurudo
nebulos wrote:
I really need to get emails working.
And why exim not working? You get some error(s)?
Telepathy is not the same these days :)

Re: How to reinstall exim4

Posted: Sun Aug 23, 2015 8:22 pm
by nebulos
You are right, not the same.:/

Anyway.. i might have installed postfix :D
and it messed up my exim4 server..

I have ubuntu 14, dedicated server. I don't want to do a clean install.
I want to start the mail server so my webhosting accounts could send and receive emails.

right now I cant start my exim, it won't start.
Image

Code: Select all

sudo apt-get -y install exim4
When I try to install.. I get this:

Code: Select all

root@s7:~# sudo apt-get -y install exim4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
exim4 is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up exim4-config (4.82-3ubuntu2) ...
2015-08-23 23:18:26 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-daemonNo apport report written because the error message indicates it's a follow-up error from a previous failure.
       No apport report written because the error message indicates it's a follow-up error from a previous failure.
                                                                                                                   No apport report written because MaxReports has already been reached
                                                            -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)

When I try to remove exim, I get the same error.

I've removed postifix atm.

There are some errors i could try to fix.. I'll see what I can do..

Re: How to reinstall exim4

Posted: Mon Sep 21, 2015 3:30 pm
by nebulos
Hi!

Any idea if there is a fix for this?

Don't want to do reinstall..

if I have to reinstall.. then can i somehow backup all my "clients" and restore them later?

thx

Re: How to reinstall exim4

Posted: Mon Sep 21, 2015 7:27 pm
by tjebbeke
nebulos wrote:Hi!

Any idea if there is a fix for this?

Don't want to do reinstall..

if I have to reinstall.. then can i somehow backup all my "clients" and restore them later?

thx
Read documentation for backup and restore : http://vestacp.com/docs/#how-to-migrate ... her-server