1833757 Members
2744 Online
110063 Solutions
New Discussion

sendmail on hpux 11.0

 
vaman
Frequent Advisor

sendmail on hpux 11.0

I have script that afer running genarate mail thr. sendmail. recently it is not able to send mails the error is
Can't create transcript file ./xfiA4JCTQ25049: Permission denied

queueup: cannot create queue temp file ./tfiA4JCTQ25049,
But if i check sendmail is working, the process sendmail -accepting connections &
thr. elm i can send or receive mails.
so can u someone tell me about this

vaman kulkarni
7 REPLIES 7
Sundar_7
Honored Contributor

Re: sendmail on hpux 11.0

Check the permissions of sendmail (should have SUID/SGID set)

# ls -lrt `which sendmail`
-r-sr-sr-t 1 root mail 831488 Oct 15 2003 /usr/sbin/sendmail
#

Learn What to do ,How to do and more importantly When to do ?
vaman
Frequent Advisor

Re: sendmail on hpux 11.0

Yes Sunder
lr-sr-sr-t 1 root sys 18 Dec 28 2001 /usr/lib/sendmail@ -> /usr/sbin/sendmail
only group is not mail but sys
vaman kulkarni
Sundar_7
Honored Contributor

Re: sendmail on hpux 11.0

Permissions of /usr/sbin/sendmail is more important than /usr/lib/sendmail since it is just a symbolic link

# ls -lrt /usr/sbin/sendmail

???
Learn What to do ,How to do and more importantly When to do ?
vaman
Frequent Advisor

Re: sendmail on hpux 11.0

Sunder

ls -lrt /usr/sbin/sendmail
lrwxr-xr-x 1 root root 39 Mar 14 2003 /usr/sbin/sendmail@
-> /usr/contrib/sendmail/usr/sbin/sendmail
so what u suggest
vaman kulkarni
Sundar_7
Honored Contributor

Re: sendmail on hpux 11.0

oh , you really got a lenghty loop there.

# ls -lrt /usr/contrib/bin/usr/sbin/sendmail

Please tell me /usr/contrib/bin/usr/sbin/sendmail
is not a symbolic link :-)

# which sendmail



Learn What to do ,How to do and more importantly When to do ?
vaman
Frequent Advisor

Re: sendmail on hpux 11.0

sunder

which sendmail
/usr/lib/sendmail
adedd13n:root [/home/kulkavg] ls -alrt
adedd13n:root [/home/kulkavg] ls -lrt /usr/lib/sendmail
lr-sr-sr-t 1 root sys 18 Dec 28 2001 /usr/lib/sendmail@ -> /usr/sbin/sendmail
vaman kulkarni
zhang wei_2
New Member

Re: sendmail on hpux 11.0

1.Check the permissions of sendmail (Should have SUID/SGID set ,also the owner should be root )
2. Check the permissions of DIR /var/spool/mqueue and /var/mail(The owner should be bin and should have writable permissions)

regard