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.

Post By Editor (2,827 Posts)

Website: →

Connect