> -----Original Message-----
> From: Leo Huang
> Sent: Monday, January 27, 2003 10:18 AM
> Subject: Re: Sendmail Problem
>
>
> I've solved the problem in a very strange way!
>
> I used to "cp /usr/sbin/sendmail.sendmail /usr/sbin/sendmail".
> I removed /usr/sbin/sendmail and then
> "ln -s /usr/sbin/sendmail.sendmail /usr/sbin/sendmail".
> Then the problem is solved!
>
> Any idea what's happening?
>
> Regards,
> Leo

The sendmail executable needs to be installed "setgid" smmsp. You probably
removed the setgid bit when you overwrote /usr/sbin/sendmail.

FYI: from the sendmail documentation...

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

Steve Cowles 



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to