Messaging
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail not starting after upgradation

V.Tamilvanan
Honored Contributor

sendmail not starting after upgradation

Hi All,
I have an HP-UX 11.0 server ran with sendmail 8.9.3 version.As there are secutity vulnerabilities on that version I upgraded by installing Sendmail version 8.11.1. But after installing Sendmail Version 8.11.1 my sendmail is not starting at all.
I have compared and checked the permission of sendmail, /etc, /etc/mail, and all files in /etc/mail directory with the other systems what I have upgraded successfully. But no clue.
I have attached the error. Can somebody throw some light on this problem.

Thanx & regards,
V.Tamilvanan
12 REPLIES

Re: sendmail not starting after upgradation

well htere was no need to upgrade the sendmail, as version 8.11.1 is ALSO affected, and you still have to fix it as per hte Security Bulletin!
But from your log, it appears there may be incompatibilities between the sendmail.cw files of the versions.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Berlene Herren
Honored Contributor

Re: sendmail not starting after upgradation

I am working a call almost like this with another customer. For right now, we went back to 8.9.3 an applied the binary sendmail.893.11.00.gz. After we solve this, I will post the solution. Right now, I recommend you run
/usr/bin/enable_inet -r sendmail to revert back to 8.9.3 and apply that binary, in order to keep your sendmail secure.

Berlene





Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
David_246
Trusted Contributor

Re: sendmail not starting after upgradation

Berlene,

Where can I get the binary ?? Was looking for a patch at the HP site, but couldn't find it. You have a patch or binary to solve the vulneribility issue from sendmail ??

Please let me know where I can find it.

Regs David

P.S. Sendmail bug is fixed starting 8.12

http://www.iss.net/issEn/delivery/xforce/alertdetail.jsp?oid=21950
@yourservice
Berlene Herren
Honored Contributor

Re: sendmail not starting after upgradation

Sure

FTP Access: ftp://sendmail:sendmail@hprc.external.hp.com/
or: ftp://sendmail:sendmail@192.170.19.51/
or: ftp hprc.external.hp.com


Berlene

http://www1.itrc.hp.com/service/cki/docDisplay.do?docId=HPSBUX0302-246
http://www.mindspring.com/~bkherren/dobes/index.htm
Steven E. Protter
Exalted Contributor

Re: sendmail not starting after upgradation

swlist -l product | grep sendmail

Since you isntalled the binaries they should show up in swlist.

swlist -i and poke around.

what /usr/sbin/sendmail

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Brian M Rawlings
Honored Contributor

Re: sendmail not starting after upgradation

Here is an excellent post that will help you get sendmail 8.9.3 patched and functional, with the vulnerabilities eliminated until HP comes out with 8.12.8 in a patch:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xb3015fe8b250d71190080090279cd0f9,00.html

Regards, --bmr
We must indeed all hang together, or, most assuredly, we shall all hang separately. (Benjamin Franklin)
V.Tamilvanan
Honored Contributor

Re: sendmail not starting after upgradation

Hi Berlene,
As u said I reverted back to old 8.9.3 version and applied the binary sendmail.893.11.00.gz to make my sendmail secure. I just removed the link /usr/sbin/sendmail which points to /usr/contrib/sendmail/usr/sbin/sendmail and copied the sendmail.893.11.00 to /usr/sbin/sendmail . After that my sendmail works with 8.9.3 version but I need to upgrade to 8.11.1. Please post me the solution once you resolved the same type of case.
Thanx & regards,
V.Tamilvanan.
Berlene Herren
Honored Contributor

Re: sendmail not starting after upgradation

I defintely will!
berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
V.Tamilvanan
Honored Contributor

Re: sendmail not starting after upgradation

Hi Berlene,
Is there any solution for the problem.
Berlene Herren
Honored Contributor

Re: sendmail not starting after upgradation

Thank you, Tamil for reminding me. The problem was permission on /etc were wrong. Run this command, and see if it completes with no fatal errors.


#/usr/sbin/sendmail -v -d44.99 root > /tmp/permtest

Regards,
Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
V.Tamilvanan
Honored Contributor

Re: sendmail not starting after upgradation

Hi Berlene,
I am getting the below output. From these can you figure out the issue.
-----------------------------------------
safefile(/etc/mail/sendmail.cf, uid=0, gid=0, flags=6000, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6000):
[uid 0, nlink 1, stat 100644, mode 400] OK
safefile(/etc/mail/sendmail.cw, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580):
[uid 0, nlink 1, stat 100644, mode 400] OK
safefile(/etc/mail/uucp-hosts, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580):
No such file or directory
safefopen: safeopen failed: No such file or directory
safedirpath(/var/spool/mqueue, uid=0, gid=0, flags=0):
safefile(/etc/mail/aliases.db, uid=0, gid=0, flags=584, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=584):
[uid 0, nlink 1, stat 100640, mode 400] OK
root... aliased to sysadmin
sysadmin... aliased to xyz@abc.com
---------------------------------------
Berlene Herren
Honored Contributor

Re: sendmail not starting after upgradation

Do you have safedirpath /etc/mail directory?

(/etc/mail, uid=0, gid=0, flags=6580):
No such file or directory
safefopen: safeopen failed: No such file or directory?

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm