Adrian wrote,
So now I have this in my ~/.procmailrc :
:0 c
backup
Sean replied,
If you're writing to a MAILDIR, I'd generally expect a trailing slash on
the destination filespec. Otherwise, it looks like you're writing to a
file, and you don't have a lockfile flag on the flags line...
Sean, Adrian is copying those messages into a classic procmail directory
(exactly as the code in the procmailex(5) man page recommends), not into
a maildir nor an MH-style directory. The recipe is correct with no
foreslash and no local lockfile.
In fact, if you added the foreslash, procmail would treat backup as a
maildir, and the cleanout routine would have to look in both backup/new
and backup/cur to determine which files to rm.
Let's write the recipe like this, then:
:0c # classic procmail directory, not MH folder and not maildir
backup # do NOT use trailing slash
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail