|
||||||||||||||||||||||||
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 step varies, depending on what version of FreeBSD you're running, so choose the appropriate action below... For FreeBSD 4.5-STABLE before 2002/4/4 and Earlier, make the following change to your /etc/rc.conf file: Change sendmail_enable="YES" to sendmail_enable="NO" For FreeBSD 4.5-STABLE after 2002/4/4 (Including 4.6-RELEASE and Later): Change sendmail_enable="YES" to sendmail_enable="NONE" For FreeBSD 5.0-STABLE and Later, make the following change to your /etc/rc.conf file: Change sendmail_enable="YES to sendmail_enable="NO" If any of the above lines aren't present to begin with, just add them. 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!
|
||||||||||||||||||||||||
|
||||||||||||||||||||||||
home | about | the installation | utilities | faq | contact | journal | mailing list | list archive | forum | links | donate | merchandise |
||||||||||||||||||||||||
Site
last modified:
Wednesday, February 6th, 2008 19:27:40 EST
|
||||||||||||||||||||||||