Steve,

Thanks for the suggestion. I double checked all of the permissions as
suggested. I attempted to change mqueue to the permissions of root.wheel,
root.mail and root.bin . All of which still game my normal user the same
denied message.

-Mark

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Cowles, Steve
Sent: Friday, July 25, 2003 6:19 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Mail Strangeness in RH9

Mark Reis wrote:
> Hello,
> 
> Try 2....
> 
> We are getting in the process of upgrading our department to Redhat 
> 9.0. While I was in the process of testing our customized install, I 
> ran into problems with mail. This command works fine as root, but not 
> as a typical user.
> 
> 
>> bash-2.04$ mail -v [EMAIL PROTECTED]
>> Subject: test
>> test
>> .
>> Cc:
>> can not chdir(/var/spool/mqueue/): Permission denied Program
> mode requires
> special >privileges, e.g., root or TrustedUser.

The following cut/paste (see below) is from the sendmail SECURITY file which
can be found if you download the sendmail tarball. I believe this addresses
your problem.

Steve Cowles

-------------- cut/paste ---------------
The default configuration starting with sendmail 8.12 uses one sendmail
binary which acts differently based on operation mode and supplied options.
 
sendmail must be a set-group-ID (default group: smmsp, recommended
gid: 25) program to allow for queueing mail in a group-writable directory.
Two .cf files are required:  sendmail.cf for the daemon and submit.cf for
the submission program.  The following permissions should be used:
 
-r-xr-sr-x      root   smmsp    ... /PATH/TO/sendmail
drwxrwx---      smmsp  smmsp    ... /var/spool/clientmqueue
drwx------      root   wheel    ... /var/spool/mqueue
-r--r--r--      root   wheel    ... /etc/mail/sendmail.cf
-r--r--r--      root   wheel    ... /etc/mail/submit.cf
 
[Notice: On some OS "wheel" is not used but "bin" or "root" instead

-------------------------------------------------


--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to