Operating System - HP-UX
1833788 Members
2634 Online
110063 Solutions
New Discussion

How to compile sendmail 8.11.3 on HP-UX 11.0?

 
Joe Lu_3
Occasional Contributor

How to compile sendmail 8.11.3 on HP-UX 11.0?

I use a HP B2000 workstation (HP-UX 11.0), I want to configue the newest sendmail on it, but while I compile the source code and install this software, I found it could not work normally, who can tell me how to compile sendmail 8.11.3 on my platform?

My steps:
1. Extract tar.gz file
2. cd sendmail-8.11.3/sendmail
3. ./makesendmail install

while install script copy manual to /usr/share/man/cat1, cat5, cat8, there does not exist these directorys?

Please help me, thank you very much!
Nevermind
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor

Re: How to compile sendmail 8.11.3 on HP-UX 11.0?

Hi Joe,
When you installed HP-UX, did you install the man pages? Often, on workstations the man commands are not installed. If that is the case, then you can 1) install man or 2) modify the make file to ignore than man page create/copy commands.

Clay
If it ain't broke, I can fix that.
Joe Lu_3
Occasional Contributor

Re: How to compile sendmail 8.11.3 on HP-UX 11.0?

Thank you very much.
While I compiled and installed sendmail 8.11.3 (./makesendmail install), the installation script already change owner and permissions of /usr/sbin/sendmail, while I test send mail to a mail address, the error message is "could not create ./df34kk3kerer", I check the permission of /var/spool/mqueue, it's right, I don't know what's wrong?
Nevermind
Steven Sim Kok Leong
Honored Contributor

Re: How to compile sendmail 8.11.3 on HP-UX 11.0?

Hi,

Have you checked the setuid bit of your sendmail binary ie.

# ll `which sendmail`
-r-sr-sr-t 1 root mail 409600 Feb 27 1999 /usr/sbin/sendmail

I remember replying to your query in another post, but I could no longer find that post. Strange.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Tapani Tarvainen_1
New Member

Re: How to compile sendmail 8.11.3 on HP-UX 11.0?

You shouldn't use the makesendmail script directly. Instead use Build in the base directory (sendmail-8.11.3).

I didn't use the install option of the Build script, but installed the components
I wanted by hand.

Below is the entire installation sequence I used:

tar xf sendmail.8.11.3.tar
cd sendmail-8.11.3
./Build
cpset -o sendmail/sendmail /usr/sbin 3555 root mail
rm -f /usr/bin/praliases
ln /usr/sbin/sendmail /usr/bin/praliases
cpset -o makemap/makemap /usr/sbin 0555 bin bin
cpset -o smrsh/smrsh /usr/sbin 0511 bin bin
cpset -o vacation/vacation /usr/bin 0511 bin bin

Seems to work just fine.