procmail
[Top] [All Lists]

Re: procmailrc correction

2000-03-15 13:35:50
Mauricio Herrera <ma_herr(_at_)yahoo(_dot_)com> writes:
Sorry, I wrote it wrong in the mail. Procmail is not
recognizing the .procmailrc files in the users
directories. I already tried with a .forward file
without success.

I'm running sendmail on a Linux RedHat 6.0 box.

Remove the .forward files: the standard sendmail config under RedHat
uses procmail as the local delivery agent.  The problem is probably that
the procmail rpm wasn't compiled with the GROUP_PER_USER #define, such
that procmail won't trust a .procmailrc file if it's group-writable or
the user's home directory is group writable.

To check this, examine /var/log/maillog for lines that say "Suspicious
rcfile".  If you find any, then this is almost certainly the problem.
You'll need to either

a) find an RPM of procmail that compiled procmail with GROUP_PER_USER
   defined.  It appears the procmail-3.13.1-4 RPM from Redhat 6.1
   wasn't compiled with it, but perhaps someone else knows where a good
   RPM is.

b) compile procmail yourself -- it isn't too hard.  You can fetch the
   current version from 
        http://www.procmail.org

c) remove group write permissions from everyone's home directory and
   .procmailrc file.  You'll also need to come up with some way of doing
   this for new users.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>