Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

sendmail permission denied

Michael Schulte zur Sur
Honored Contributor

sendmail permission denied

Hi all,

I getting on a 5.1B-2 installation the error message:
Can't create transcript file ./xfj5UApo10000323802: Permission denied
Cannot create ./dfj5UApo10000323802: Permission denied

Any idea?

thanks,

Michael


The acess rights for standard files/dirs are:
-rws--x--x 5 root bin 667296 Jun 16 2004 /usr/sbin/sendmail
drwxrwxr-x 2 bin bin 8192 Jun 30 11:33 /var/spool/mqueue
drwxrwxrwt 2 root system 8192 Jun 30 12:30 /var/tmp
7 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: sendmail permission denied

Hi,

this is weird. I just saw in the sendmail doc that /var/spool/mqueue should have access 700. Setting that and the error disappeared. What make me wonder why it runs on one host and on another not!

Any idea?

thanks,

Michael
Michael Schulte zur Sur
Honored Contributor

Re: sendmail permission denied

Hi,

I have reopened the thread because the error message does not make sense to me. It is a bit misleading. How can root have permission problems on /var/spool/mqueue?

Any idea?

thanks,

Michael
Venkatesh BL
Honored Contributor

Re: sendmail permission denied

hmm...looks to me like one of those "safe" open facilities added to the tools...
Ivan Ferreira
Honored Contributor

Re: sendmail permission denied

I don't understand why a "even more restrictive permissions" fix the problem. Did you sucessfully sent mail with root user and non root user after the change?

Maybe you have the Run_As_User configuration option modified.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Devesh Pant_1
Esteemed Contributor

Re: sendmail permission denied

Michael,
most of my servers (5.1B-3) have the permissions as shown below

-rws--x--x 5 root bin 667296 Jun 15 2004 /usr/sbin/sendmail
drwxr-xr-x 2 root system 8192 Jun 30 22:21 mqueue
and of course /var/tmp is 777
I am really not sure why you are getting this problem.

devesh
Han Pilmeyer
Esteemed Contributor

Re: sendmail permission denied

/var/tmp should be 1777 (as it was for the topic author).
Michael Schulte zur Sur
Honored Contributor

Re: sendmail permission denied

Thanks for posting.

Actually owner of /var/spool/mqueue being root or not is the straw that makes it breaks it. When it is root, it works when not the you get the permission denied.

really strange and not understandable.

Michael