Installation of exim
Before building exim, we need to create a user and group for
exim with the following commands:
groupadd exim
useradd -g exim exim
Install exim with the following commands:
sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \
sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \
sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | \
sed -e 's/^EXIM_MONITOR/#EXIM_MONITOR/' > Local/Makefile &&
make &&
make install &&
ln -s /usr/sbin/exim /usr/sbin/sendmail