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...

killall sendmail (to stop all sendmail processes)

mv /usr/sbin/sendmail /usr/sbin/sendmail.old

mv /usr/lib/sendmail /usr/lib/sendmail.old (this may not apply if there is no sendmail link or binary in this location)

chmod 0 /usr/lib/sendmail.old /usr/sbin/sendmail.old

Now we will need to instruct FreeBSD not to attempt to start Sendmail upon startup. This is done by make the following modification to the /etc/rc.conf file:

Change sendmail_enable="YES" to sendmail_enable="NONE"

Now save the file and exit out of it.

Finally, 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 we'll will finalize the installation of Qmail 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 | utilities | faq | contact | journal | mailing list | list archive | forum | links | donatemerchandise
modified
This mirror last modified: Thursday, August 9th, 2012 15:59:17 CEST
 
The Rocks Project