Justin Rickert <jjk8501(_at_)hotmail(_dot_)com> writes:
I have RedHat 7.2, procmail-3.22-5, and postfix-20011210-1pcreSASL these
are the most current versions of the rpms from redhat I believe. However
when mail is sent to root(_at_)rickertweb(_dot_)com the message boucnes and
says
the following
...
<justin(_at_)rickertweb(_dot_)com>: can't create user output file. Command
output:
procmail: Renaming bogus mailbox "/var/spool/mail/justin" info
"/var/spool/mail/BOGUS.justin.ZuI" procmail: Couldn't create
"/var/spool/mail/justin" procmail: Error while writing to
"/var/spool/mail/justin"
I am not sure this is a postfix problem or a procmail problem. I believe
it is a procmail problem because I am using it as a Mail Delivery Agent.
The folder permissions in /var/spool are
drwxrwxr-t 2 root mail 4.0k May 16 15:19 mail
...
and procmail and postfix permissions are
-rwxr-xr-x 1 root mail 92k Mar 25 10:03
/usr/bin/procmail
How is procmail supposed to create mailspools for the users if it can't
write to the spool directory? You'll need to either make procmail
setgid to the mail group ("chmod g+s /usr/bin/procmail"), _OR_ make
it setuid root, _OR_ make the mail spool world writable ("chmod a+w
/var/spool/mail").
Philip Guenther
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail