Release
 
Part 10 - Uninstalling Sendmail

Well, the moment you've been waiting for is finally here. We're going to uninstall Sendmail from the server. However, since Sendmail is such a commonly used item among tons of server operations and cronjobs, you will see that, after we uninstall Sendmail, we will actually make an artificial Sendmail that is nothing more than a direct injection into qmail.

Anyway, let's uninstall it...

First, let's stop Sendmail

/etc/init.d/sendmail stop

Next, you'll want to check and see if your Sendmail installation is installed as a Sun package. You can do this by runing a simple query...

pkginfo | grep sendmail

You should get an output similar to this:

system SUNWsndmr Sendmail root
system SUNWsndmu Sendmail user

If so, you can remove the sendmail packages like so...

pkgrm SUNWsndmu

pkgrm SUNWsndmr

That's it! Sendmail is gone!

Now we will need to set up an "artificial" Sendmail, which is just a symbolic link to Qmail's Sendmail. This is needed to ensure that the myriad of systemic mail scripts are still able to send mail! qmail's "Sendmail" is nothing more than a direct injection into qmail itself...

ln -s /var/qmail/bin/sendmail /usr/lib/sendmail

ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail

That's it! If all has gone well, Sendmail should be uninstalled and the Qmail Sendmail should be in its place.

Now it's time to give qmail a final test and then crank it up!

Proceed to Part 11


 

Color Coded Qmail Installation Key
 
Regular Black Text 
 Qmail installation notes and summaries by the author. Me talking.
 
Bold Black Text 
 Commands to be run by you, the installer.
 
Bold Maroon Text 
 Special notes for Redhat 9 users.
 
Bold Red Text 
 Vital and/or critical information.
 
Regular/Bold Purple text 
 Denotes helpful tips and hints or hyperlinks.
 
Regular Orange Text 
 Command line output.
Cp

Regular green text 

 Denotes the contents of a file or script.
home | about | the installation | scripts & utilities | faq | contact | links | donations | journal | mailing list | list archive | qmr forum
modified
This mirror last modified: Thursday, August 9th, 2012 15:59:34 CEST
 
The Rocks Project