procmail
[Top] [All Lists]

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

2006-06-05 17:03:07
On Mon, Jun 05, 2006 at 08:35:15AM +1000, Paul Matthews wrote:

[dman wrote:]

That is a pretty darn big file, isn't it?  Is this happening only
with these big files, perchance?

the others arn't as big no.

Okay.


[root(_at_)mail mail]# ls B* -lsa
   0 -rw------- 2 campbellb mail 0 May 29 14:56  BOGUS.campbellb.c8UB

When did the files change from being owned by that special group you had
set up to being owned by "mail"?

It seems pretty likely to me you have permission problmes of some
kind, probably to do with group ownership.

What I am trying to find out is, what permissions and what owner
and what group will write when the file is not there already.  You
have not yet told me that.  Also, what are the dir permissions?

  ls -ld .

[root(_at_)mail mail]# ls -ld
drwxrwxrwt  3 root mail 20480 Jun  5 08:23 .

You changed some things from before.  Now you have the sticky bit
set.  (Good.)  Has the problem recurred since you made these changes?



And do you have some other permissions security stuff running,
such as maybe ACL (access control list) stuff or something?

I don't think so ... how do I find out?

If you don't know, the answer is probably no.  It's mostly on
stuff like Alpha True64 systems and stuff, anyway.  And a
couple of others.  See if there's a "setacl" command active on
your system.  Probably there isn't.


What do the verbose logs say for these failures?

this is the log file from one of the users

From five(_dot_)mile(_at_)bigpond(_dot_)com  Sat Jun  3 19:30:11 2006
 Subject: catching up
  Folder: /var/mail/hoarec                                                
4249

Those are not verbose logs.  And that's not a failure.
We (I) want to see verbose logs for a failure entry.


What is the output of
  sh -c "procmail -v 2>&1" | sed 2,9d


[root(_at_)mail mail]# sh -c "procmail -v 2>&1" | sed 2,9d
procmail v3.22 2001/09/10

Locking strategies:     dotlocking, fcntl()
Default rcfile:         $HOME/.procmailrc
        It may be writable by your primary group
Your system mailbox:    /var/mail/root


Odd that you don't have lockf() running in your compile.

Dallman

____________________________________________________________
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