procmail
[Top] [All Lists]

Re: Renamed bogus "/var/mail/caseym" into "/var/mail/BOGUS.caseym.j8UB"

2006-05-31 04:10:31
On Wed, May 31, 2006 at 02:12:22PM +1000, Paul Matthews wrote:

[Procmail can't write to "bogus" mailboxes.]

[root(_at_)mail samba]# ls /var/spool/mail/honeyd -lsa
4 -rwx------  1 honeyd Domain Users 3098 May 31 13:46 /var/spool/mail/honeyd

Any idea's?

You have not given us enough information.  What rcfile tries to
write to the file?  What recipe?  If the rcfile is /etc/procmailrc,
that could be your problem, depending on what user owns the 
process that wants to write, what the group is, etc.  Oh, and
you don't have CACLS or something goofy like that on your system,
do you?


From the procmail man page:
  
       If  /var/mail/$LOGNAME is a bogus mailbox (i.e., does not belong to the
       recipient, is unwritable, is a symbolic link or is a hard link),  proc-
       mail  will upon startup try to rename it into a file starting with `BO-
       GUS.$LOGNAME.' and ending in an inode-sequence-code.  If this turns out
       to  be  impossible,  ORGMAIL will have no initial value, and hence will
       inhibit delivery without a proper rcfile.

So that pretty well answers your question about "what is bogus?" I think.
Do you have the 'BOGUS.$LOGNAME' files appearing?

dman

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail