procmail
[Top] [All Lists]

Re: procmail, famd, and "Couldn't create or rename temp file"

2006-10-12 15:40:34
procmail(_at_)eklhq(_dot_)com schreef:

On my server at home, I have postfix receiving mail.  The maildir's,
procmail, and postfix are on the same machine.  I have the following
procmail recipe:

   :0 H
   * (^Mailing-List: list|^Delivered-To: mailing list|^Mailing-List:
   contact|^X-BeenThere:) \/[^(_at_)]+
   $MAILDIR.$MATCH/new

First, from your recipe I deduce that you have set MAILDIR to a value
ending in a slash. That is wrong.
Setting MAILDIR is the chdir command of procmail.
So change that by removing the end-slash.

The H-flag is the default, and in some versions of procmail it is
sticky. So remove that too.

You are delivering directly to the new-directory in a maildir-folder.
Don't do that, let procmail do the specific maildir stuff (see maildir
in `man procmailrc`).


Now your recipe becomes:

    :0
    * ^(Mailing-List: (contact|list)|\
        Delivered-To: mailing list|\
        X-BeenThere:) \/[^(_at_)]+
    .$MATCH/


Notice the slash at the end of ".$MATCH/", that signals maildir type
delivery to procmail.
I would let it deliver to ".lists.$MATCH/", to get a collapsable lists
tree.

-- 
Groet, Ruud


____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>