Sendmail 8.7.3 installation for Solaris 2.5.
sendmail.8.7.3.tar.gz and go to the
directory sendmail-8.7.3/src/Makefiles.
Make the file Makefile.SunOS.5.5 writable.
DBMDEF= -DNEWDB
LIBS= -lresolv -lsocket -lnsl -lelf -ldb
INCDIRS=-I/usr/local/sww/include
LIBDIRS=-L/usr/local/sww/lib
DBMDEF
and LIBS settings). /usr/local/sww is
the place where Berkeley NEWDB package lives at my hosts
(db.1.85).
cd .. and then ./makesendmail
src/obj.SunOS.5.5.sun4
src/obj.SunOS.5.5.sun4
and test new sendmail. The testing sequence depends on your local
configuration. Typically I use at least the following checks:
./sendmail -bv er
./sendmail -bv er@ra
./sendmail -bv er@ra.sai.msu.su
./sendmail -bv er@sai.msu.su (all these test
must give me the message deliverable: mailer local, user er).
./sendmail -bv er@neptun.sai.msu.su (another
host. The write result isdeliverable: mailer smtp, host neptun.sai.msu.su., user er@neptun.sai.msu.su).
./sendmail -bv user1@sai.msu.su
(for some users the mail host is neptun.sai.msu.su, so the correct answer is
user1@neptun.sai.msu.su... deliverable: mailer smtp, host neptun.sai.msu.su., user user1@neptun.sai.msu.su).
./sendmail -bv user2@sai.msu.su
(for all other users the mail host is lnfm1.sai.msu.su, so the correct answer is
user2@sai.msu.su... deliverable: mailer relay, host lnfm1.sai.msu.su, user user2@lnfm1.sai.msu.su).
strip ./sendmail (optional)
mv ./sendmail /usr/lib/sendmail.new (This is important.
Don't override your old sendmail!)
chgrp sys sendmail.new ; chmod 6555 sendmail.new
mv sendmail sendmail.old ; mv sendmail.new sendmail
/usr/lib/sendmail -bd -q1h