DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
:~# 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
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 08:23 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.