Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

How to reinstall exim4

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
nebulos
Posts: 9
Joined: Wed Jun 10, 2015 5:11 pm

How to reinstall exim4
  • Quote

Post by nebulos » Thu Aug 20, 2015 8:45 am

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 :)
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How to reinstall exim4
  • Quote

Post by skurudo » Thu Aug 20, 2015 11:14 am

For Debian:

Code: Select all

aptitude reinstall packagename
or

Code: Select all

apt-get install --reinstall packagename
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How to reinstall exim4
  • Quote

Post by skurudo » Thu Aug 20, 2015 11:15 am

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 :)
Top

nebulos
Posts: 9
Joined: Wed Jun 10, 2015 5:11 pm

Re: How to reinstall exim4
  • Quote

Post by nebulos » Sun Aug 23, 2015 8:22 pm

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..
Top

nebulos
Posts: 9
Joined: Wed Jun 10, 2015 5:11 pm

Re: How to reinstall exim4
  • Quote

Post by nebulos » Mon Sep 21, 2015 3:30 pm

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
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: How to reinstall exim4
  • Quote

Post by tjebbeke » Mon Sep 21, 2015 7:27 pm

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
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password