At 18:11 2002-05-27 -0300, Alonso, Claudio Fabian wrote:
I've been told that the user's mail file should belong to the user and to
the "mail" group. I
Depends on your config, but yes, this is fairly standard. Of course, if
sendmail is running as root, it doesn't matter (nor would the mail group
need write perms).
Procmail is installed:
# rpm -q procmail
procmail-3.22-5
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.
Finally, I looked at the /var/log/maillog file, and found an EX_TEMPFAIL
error:
May 27 10:47:04 localhost sendmail[16260]: g4RDl4n16260: from=root,
size=44, class=0, nrcpts=1,
msgid=<<mailto:200205271347(_dot_)g4RDl4n16260(_at_)i>200205271347(_dot_)g4RDl4n16260(_at_)i(_dot_)(_dot_)(_dot_)>,
<mailto:relay=root(_at_)l>relay=root(_at_)l(_dot_)(_dot_)(_dot_)
May 27 10:47:04 localhost sendmail[16263]: g4RDl4n16260: to=claudio,
ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=local,
pri=30044, dsn=4.0.0, stat=Deferred: local mailer
(/usr/bin/procmail) exited with EX_TEMPFAIL
The LDA (procmail) needs to run as root. setuid procmail to root.
Additional info:
These are the files in /var/spool/mqueue:
[snip]
mailqueue has nothing to do with procmail - that's used only by your MTA
(such as sendmail). The .procmailrc file for the user noted in the maillog
error, the /etc/procmailrc (if any), and the appropriate config lines from
your MTA which specify procmail as the LDA are all considerably more useful
here though.
Next time you post, please try to use plaintext. It's a mailing list.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail