Thanks Ray!

I don't know if you've been busy this holiday weekend, but I've been trying
to send messages to my regular login on my home PC to no avail. I think we 
figured out the problem: I had removed the user execute permission on 
/usr/bin/procmail (I had been trying to implement mutt, fetchmail, & procmail 
on my RedHat 6.0 PC laptop.)

I haven't proceeded to customize my procmail file, but I'm confident 
that at least I'll now be able to use fetchmail again
(mail would come in, and disappear--not go into my /var/spool/mail/$USER)

AFA the capital S, I suspect that on RedHat, it's OK this way:

[root@localhost rks]# ls -la /usr/bin/procmail
-r-Sr-Sr--   1 root     mail        64468 Apr  6  1999 /usr/bin/procmail
[root@localhost rks]# chmod 6445 /usr/bin/procmail
[root@localhost rks]# ls -la /usr/bin/procmail
-r-Sr-Sr-x   1 root     mail        64468 Apr  6  1999 /usr/bin/procmail


May 28 17:39:31 localhost sendmail[3379]: RAB03132: SYSERR(root): Cannot exec 
/usr/bin/procmail: Permission denied


Now I'll wager I will no longer get these types of messages, each time 
sendmail tries to do it's stuff. I've got it set up to attempt to send 
mail once an hour, but if I still have trouble the way it's set up
I'll ask you gurus if anyone knows how to tell it to try IFF I'm online

Thanks again Ray and Lawson! Have a great Memorial Day everyone!

* Ray Olszewski <[EMAIL PROTECTED]> [970101 00:00]:
> >Does this look OK permission-wise?
> >-r-Sr-Sr--   1 root     mail        64468 Apr  6  1999 /usr/bin/procmail
> No. Not unless you are using a Linux distribution that is quite different
> from what I am used to. The upper-case Ss are wrong ad should be lower case,
> as below:
> -r-sr-sr--   1 root     mail        64468 Apr  6  1999 /usr/bin/procmail
> In addition, as specified, only root and members of group mail can run
> procmail (making the sgid bit pointless). On my systems, procmail is
> installed as
> -r-sr-sr-x   1 root     mail        64468 Apr  6  1999 /usr/bin/procmail
---end quoted text---
-- 
+----------------------------------------------------------+
|     Richard Spencer     Running Linux 2.2.5, RedHat 6.0  |
|    Sao Paulo, Brazil      & the K Desktop Environment    |
|  mailto:[EMAIL PROTECTED]         (windows break)          |
+----------------------------------------------------------+
                                       

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to