Click to See Complete Forum and Search --> : Upgrading Sendmail on Ancient RedHat 6.2


CanadaMan
09-17-2003, 04:01 PM
I know this is a longshot but maybe there are some other people out there who are also trapped in the Stone Age who can help me.

I've got a RedHat 6.2 box that needs sendmail updated due to the latest hole. Switching to something else is not an option for various reasons(my boss said no).

I uninstalled the RPMs and tried compiling the latest 8.12.9 code. I can get sendmail to build but not makemap. Mailutils and test also build although I'm not sure I'm using test properly. The errors it gives me change depending on who I run is as (root or a user). As root I get this:
[root@cppc-stu2-l7 stevensw]# /usr/bin/test
initial gids (should be 0/99): r/egid=0/99
setgid(0)=0 ok
after setgid() (should be 0/0): r/egid=0/0
MAYDAY! setgid(99) succeeded (should have failed)
after setgid() to egid (should be 0/0): r/egid=99/99
MAYDAY! Wrong effective gid
MAYDAY! Wrong real gid

This system cannot use setgid to give up set-group-ID rights
Maybe compile with -DHASSETEGID and try again
Maybe compile with -DHASSETREGID and try again
Maybe compile with -DHASSETRESGID and try again
I'm not even sure where to put that for compiling.

When I run sendmail it seems to work but Pine can't send or recieve a message with smtp as localhost.

I think the problem has to do with makemap. I can't compile it. I use the command
sh Build -I/usr/include -L/usr/lib
but it exits with
/install/sendmail-8.12.9/obj.Linux.2.2.24-6.2.3.i686/libsmdb/libsmdb.a(smdb2.o): In function `smdb_db_open_internal':
smdb2.o(.text+0x511): undefined reference to db_open'
collect2: ld returned 1 exit status
make: *** [makemap] Error 1

I'm a novice at sendmail so I'm pretty lost. Any help would be great!