Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Uninstalling Postfix

Status
Not open for further replies.

blacklow

ISP
May 19, 2007
34
IL
hey..

take in mind i installed postfix from source , what is the best way removing / uninstalling it ?

BTW - make uninstall / reinstall doesn't work

must i do it all by hand ?

mush thanks

blacklow
 
If you didn't install using RPM, then yes you need to remove it by hand. First off, if it is being started at bootup, then you need to remove the startup script. Usually this is something like /etc/rc.d/init.d/postfix. This script however, is called from another script depending on the runlevel you boot into. For example, if you boot into server mode (runlevel 3) then you miy find a script something like /etc/rc.d/rc3.d/s80postfix. The "s" in front of it means that it is a start script and the "80" is the priority or order that it will start. Some scripts that requir to be shutdown a certain way will also have a kill script and they will begin with the letter "k". Once you've remove the start script(s), you can type "whereis postfix" at the command line and it will tell you where most of its files are.
 
RhythmAce much thanks ..as i looked around i found a tool
called "checkinstall" . still figuring how to use it..
if you have some experience with it, i would much appreciate the help..
 
If you still have the compiled source that you installed it from, you can run another make install and capture the output, which should contain a list of the files you need to remove.

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top