Operating System - HP-UX
1834813 Members
2677 Online
110070 Solutions
New Discussion

Re: whats wrong .. with sendmail and Oreily ! ?

 
SOLVED
Go to solution
someone_4
Honored Contributor

whats wrong .. with sendmail and Oreily ! ?

I am going by the book I even went as far as to get the exact version of sendmail.8.8.4 they are using on the book (sendmail 2nd ed). I try to rund the makesendmail command. I have loaded gcc and the groff and i still get this error.
# ./makesendmail
Configuration: os=HP-UX, rel=11.00, rbase=11, rroot=11.00, arch=8xx, sfx=
Making in obj.HP-UX.11.00.8xx
cc -Aa -D_HPUX_SOURCE -o sendmail alias.o arpadate.o clock.o collect.o c
onf.o convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o macro.o
main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o recipient.o savemail.o
srvrsmtp.o stab.o stats.o sysexits.o trace.o udb.o usersmtp.o util.o version.o
-L/usr/local/lob -lndbm -lresolv
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C pro
duct; ignored.
/usr/ccs/bin/ld: Can't find library for -lresolv
*** Error exit code 1

2 REPLIES 2
James A. Donovan
Honored Contributor
Solution

Re: whats wrong .. with sendmail and Oreily ! ?

Why not just download and install PHNE_18546?
This is the sendmail 8.9.3 patch. Then all you need to do is configure the /etc/mail/sendmail.cf file for your site.

The release notes for this version will be in /usr/share/doc.
Remember, wherever you go, there you are...
Ralf Hildebrandt
Valued Contributor

Re: whats wrong .. with sendmail and Oreily ! ?

The cc is not ANSI capable. Either use gcc to compile sendmail (you can either use cc to build gcc or install it from depot for free) or get a recent sendmail patch.

For security reasons I recommend switching to Postfix (like HP did): faster, secure by design, easier to administer
Postfix/BIND/Security/IDS/Scanner, you name it...