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 [email protected]
./sendmail -bv [email protected]
(all these test
must give me the message deliverable: mailer local, user er
).
./sendmail -bv [email protected]
(another
host. The write result isdeliverable: mailer smtp, host neptun.sai.msu.su., user [email protected]
).
./sendmail -bv [email protected]
(for some users the mail host is neptun.sai.msu.su, so the correct answer is
[email protected]... deliverable: mailer smtp, host neptun.sai.msu.su., user [email protected]
).
./sendmail -bv [email protected]
(for all other users the mail host is lnfm1.sai.msu.su, so the correct answer is
[email protected]... deliverable: mailer relay, host lnfm1.sai.msu.su, user [email protected]
).
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