server sending out spam, how to disable exim completely?

lkbryant

Verified User
Joined
Aug 16, 2005
Messages
283
hi

how can i disable just the exim service completely?
i don't really use mail services on this box so i don't need it at all.

i tried service exim stop and chkconfig exim off but obviously i'm missing something here.

please help, thanks.
 
Turning off the daemon doesn't stop other programs from calling exim.

You can rename the exim executable, for example, to exim.off.

Jeff
 
If you stop exim from directadmin it will not auto restart. It will update /usr/local/directadmin/admin/services.status to exim=OFF so that it wont try to restart it. But you should also probably chmod 0 /etc/init.d/exim

I dont know if there is an official way to disable it or not.

You could check http://help.directadmin.com or http://directadmin.com/versions.php
 
The reason we disable exim completely by renaming it rather than by chmodding it is to allow us to easily search for all disabled software by doing a find on *.off.

Jeff
 
Back
Top