LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-30-2007, 06:34 AM   #1
drum159
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Rep: Reputation: 0
I want remove exim


Problem: exim cannot be removed.

I have a desktop debian and I do not want to run a mailserver but I keep seeing exim in my 'running processes' list.

peter@beastie:~$ ps -A | grep exim
3185 ? 00:00:00 exim4

peter@beastie# apt-get remove exim4
Reading package lists... Done
Building dependency tree... Done
Package exim4 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

peter@beastie# apt-get remove exim
Reading package lists... Done
Building dependency tree... Done
Package exim is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

aptitude remove exim flushed gnome-desktop and hundreds of packages with it, so I had to reinstall because x didn't start anymore.

When there really isn't a way to remove it how do I kill it automaticly at boottime?Where do I put the command kill -9 `pidof exim4`

I really like debian and I would love to use it as a desktop, with X but without runnning a mailserver, isn't that possible?


I have debian testing
 
Old 06-30-2007, 09:25 AM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
How about this:
Code:
:~# ps -A | grep exim
 3368 ?        00:00:00 exim4

:~# dpkg -l|grep exim
ii  exim4                           4.67-1                              metapackage to ease exim MTA (v4) installati
ii  exim4-base                      4.67-1                              support files for all exim MTA (v4) packages
ii  exim4-config                    4.67-1                              configuration for the exim MTA (v4)
ii  exim4-daemon-light              4.67-1                              lightweight exim MTA (v4) daemon

:~# apt-get --purge remove exim4-base -s
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  exim4* exim4-base* exim4-daemon-light* mailx* rkhunter*
0 upgraded, 0 newly installed, 5 to remove and 248 not upgraded.
Purg rkhunter [1.2.9-5]
Purg mailx [1:8.1.2-0.20070424cvs-1]
Purg exim4 [4.67-1]
Purg exim4-daemon-light [4.67-1]
Purg exim4-base [4.67-1]
You would need another MTA to replace exim if you want to use rkhunter or some other program that depends on a MTA.
You will also miss local mails from your system. You could pick another one of these: exim4 | postfix | sendmail | mail-transport-agent
 
Old 07-01-2007, 09:20 AM   #3
Telemachos
Member
 
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 59
I like msmtp, which is a very small alternative and easy to configure. If you ask aptitude to install "msmtp-mta" it will tell you it needs to remove exim4 (since they conflict). That's one way to get rid of it.

Also, you're not running a mailserver as is. It's just the exim4 daemon, running gently in the background, waiting to send mail. If you don't need to send mail from that box, leave it as is. It won't hurt you. If you want to stop the process from ever starting, install sysv-rc-conf and then invoke it as root with "sysv-rc-conf". Use the arrow keys to move down to exim4 and then you can move left and right with those arrows. You turn off something there by moving onto it and hitting the space bar (to switch on to off or off to on). That will keep it from starting at boot time.

Last edited by Telemachos; 07-01-2007 at 09:23 AM.
 
Old 07-01-2007, 03:12 PM   #4
DeanLinkous
Member
 
Registered: Jun 2006
Posts: 111

Rep: Reputation: 15
Quote:
Originally Posted by drum159
Problem: exim cannot be removed.
I usually do not install it but even when I did I have removed it without it killing anything....
 
Old 07-02-2007, 05:14 AM   #5
drum159
LQ Newbie
 
Registered: Feb 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Thank you so much guys for your professional answers, it explained a lot.

apt-get --purge remove exim4-base -s
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
at* exim4-base* exim4-daemon-light* mailx* mutt*
0 upgraded, 0 newly installed, 5 to remove and 85 not upgraded.
Purg at [3.1.10]
Purg mutt [1.5.13-3]
Purg mailx [1:8.1.2-0.20070424cvs-1]
Purg exim4-daemon-light [4.67-1]
Purg exim4-base [4.67-1]
 
Old 07-02-2007, 10:23 AM   #6
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Umm, I'm not sure about how much you know about apt-get, but the "-s" switch is for simulation. Leave it out to actually purge packages.
 
Old 07-02-2007, 12:05 PM   #7
lycan
Member
 
Registered: Jul 2007
Location: Kolkata, INDIA
Distribution: Debian Lenny
Posts: 51

Rep: Reputation: 15
Quote:
Originally Posted by drum159
Thank you so much guys for your professional answers, it explained a lot.

apt-get --purge remove exim4-base -s
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
at* exim4-base* exim4-daemon-light* mailx* mutt*
0 upgraded, 0 newly installed, 5 to remove and 85 not upgraded.
Purg at [3.1.10]
Purg mutt [1.5.13-3]
Purg mailx [1:8.1.2-0.20070424cvs-1]
Purg exim4-daemon-light [4.67-1]
Purg exim4-base [4.67-1]
alternatively you can open synaptic package manager, select exim4-base and do a remove with configuration files
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Etch + exim4 + sa-exim: sa-exim is not loading Thalagyrt Debian 0 04-18-2007 11:12 AM
exim is failed !!! error:package exim is not installed apache Linux - Software 0 06-24-2004 06:55 AM
how to remove exim alone freelinuxcpp Debian 1 01-12-2004 03:49 AM
remove exim install sendmail waffe Debian 4 10-22-2003 02:15 PM
exim Donald1000 Linux - Networking 0 01-09-2003 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration