[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Re: Strange procmail errors, and linting procmailrc
From:       "Ruud H.G. van Tol" <rvtol () isolution ! nl>
Date:       2009-04-23 10:02:34
Message-ID: 49F03CBA.5080001 () isolution ! nl
[Download RAW message or body]

Adrian Overbury wrote:
> I'm having a strange problem with procmail when I'm using it as that 
> main MDA on my mail server.  Procmail seems to create these strange 
> little temporary files that are basically an underscore followed by five 
> or six random characters, and then the hostname of the machine.  These 
> get created in Maildir/new, so occasionally one of the IMAP clients my 
> customers use will come along and move that file to Maildir/cur and add 
> the collected/viewed flags to it, telling the client that it has a 
> totally empty message... no headers, no nothing.
> 
> According to the Maildir spec, these files should be going in 
> Maildir/tmp, if I recall correctly.  Is this how it's supposed to go, 
> and I've somehow hit a weird error that means that these files are being 
> placed in the wrong area?
> 
> Also, ocassionally delivery will fail altogether, and this temporary 
> file will end up in the user's home directory, outside the Maildir 
> completely.  Has anyone else ever seen this?
> 
> My procmail log file tells me occasionally that I have an incomplete 
> recipe, but I can't seem to find it.  Is there a program out there to 
> lint procmailrc files for me to point out the errors?

You show code nor logs, so we have to fly blind.

The delivery should be to "dirname/" (so a dirname, followed by a 
slash), so check all settings related to that, to get proper 
maildir-type delivery.
Specifically one should never let procmail deliver to "dirname/new".

-- 
Ruud
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic