procmail
[Top] [All Lists]

Re: Mails don't go to the users' mail file

2002-05-28 16:01:43
On Tue, May 28, 2002 at 09:41:41AM -0700, Professional Software Engineering 
wrote:
All this does is tells us that redhat thinks procmail is installed because 
the package manager says so.  A better indication that it is installed (AND 
that there isn't a conflicting copy) is to run procmail itself - verifying 
that the MTA configured invocation path matches the one true copy.  If you 
inadvertently delete the procmail binary, I'll betcha the rpm will still 
claim it is installed, and if you had a manually installed copy sitting 
someplace, it wouldn't be noted in the package manager either.

Which he can verify with "rpm -V procmail". This will tell him if the files
that are included with the package are still where they're supposed to be, and
their permissions have not been mucked with. It will not, of course, say
anything about if there is another copy installed somewhere, or if Sendmail is
configured to use it. ("rpm -V sendmail" should answer that. The default
Redhat configuration of Sendmail uses the default procmail as the LDA. Again,
of course, if the configuration is changed, all it can tell you is that the
file has been altered, not how.)

The LDA (procmail) needs to run as root.  setuid procmail to root.

More likely his sendmail config has been altered such that sendmail is not
running as the user with permission to write to the spool (and thus procmail
isn't), or the spool dir has the wrong permissions. His post didn't tell us
who owned the spool dir or it's permissions, only the contents of the dir.
In a default Redhat install, DefaultUser should be 8:12. UID 8 and GID 12 are
both "mail", /var/spool/mail should be root:mail 775. Of course, these are all
Sendmail issues, not procmail. Your original thesis: that procmail is not
being invoked by or as a user with the correct permissions to write to the
spool, still stands.

-- 
Andrew Edelstein                 -              http://andrew.pure-chaos.com

Please do not reply directly to me, or Cc: me on a reply to a list message.
Replies sent back to the list are more effective, as the discussion remains in
front of the eyes of the rest of the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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