TheÂ sendmail source code is available via anonymous FTP fromÂ ftp.sendmail.org.
Compilation is very simple bceause theÂ sendmail source package directly supports Linux. The steps involved in compilingÂ sendmail are:
# cd /usr/local/src # tar xvfz sendmail.8.9.3.tar.gz # cd src # ./Build
You needÂ root permissions to complete the installation of the resulting binary files using:
# cd obj.Linux.2.0.36.i586 # make install
You have now installed theÂ sendmail binary into theÂ /usr/sbin directory. Several symbolic links to theÂ sendmail binary will be installed into theÂ /usr/bin/ directory. We’ll talk about those links when we discuss common tasks in runningÂ sendmail.