Code: Select all
wget ftp://ftp.sendmail.org/pub/sendmail/sendmail.8.14.5.tar.gz
Code: Select all
cd /work/system_apps
gzcat sendmail.8.14.5.tar.gz | tar xf -
Code: Select all
cd /work/system_apps/sendmail-8.14.5/
sh Build
Code: Select all
mv /etc/mail/cf /etc/mail/cf.8.14.4
Code: Select all
cp -rp /work/system_apps/sendmail-8.14.5/cf/ /etc/mail/
From:
Code: Select all
`define(`_CF_DIR_', `../')',
Code: Select all
`define(`_CF_DIR_', `/etc/mail/cf/')',
Code: Select all
m4 /etc/mail/sendmail.mc.8.14 > /etc/mail/sendmail.cf.8.14.5
NOTICE: it is now "dbm" instead of the old "hash".
5.3. Replace existing sendmail.cf with this new sendmail.cf.8.14.5.
Code: Select all
cp -p sendmail.cf.8.14.5 sendmail.cf
Code: Select all
mv submit.cf submit.cf.8.14.4
cp /work/system_apps/sendmail-8.14.5/cf/cf/submit.cf /etc/mail
7. Backup existing binary
Code: Select all
cd /usr/lib
mv sendmail sendmail.8.14.4
otherwise, a new statistics file with 0 byte will replace the old one.
Code: Select all
mv /etc/mail/statistics /etc/mail/statistics_ori
Code: Select all
cd /work/system_apps/sendmail-8.14.5
make install
Code: Select all
mv /etc/mail/statistics_ori /etc/mail/statistics
Code: Select all
/etc/init.d/sendmail stop
/etc/init.d/sendmail start