Procmail Recipie For FreeBSD Lists?
Paul Chvostek
paul+fbsd at it.ca
Thu Jul 3 10:38:11 PDT 2003
On Thu, Jul 03, 2003 at 10:12:22AM -0700, Drew Tomlinson wrote:
>
> :0:
> * ^List-Id:[^<]+<freebsd-\/[^.]+
> Maildir/FreeBSD/$MATCH/new
>
> And I'm getting messages like this in my procmail log:
>
> procmail: Assigning "PATH=/home/drew/bin:/bin:/usr/bin:/usr/local/bin"
> procmail: Lock failure on "Maildir/FreeBSD/alpha/new.lock"
> procmail: Error while writing to "Maildir/FreeBSD/alpha/new"
>
> OK, I assume the error is because Maildir/FreeBSD/alpha/new does not
> exist. How can I get procmail to create the directory it needs?
As you no doubt read on the procmail manpage:
| If the mailbox name ends in "/", then this
| directory is presumed to be a maildir folder; i.e., proc-
| mail will deliver the message to a file in a subdirectory
| named "tmp" and rename it to be inside a subdirectory
| named "new".
Now ... I obviously don't use maildir format, but to me, this would
imply a format something like:
:0
* ^List-Id:[^<]+<freebsd-\/[^.]+
FreeBSD/$MATCH/
I'm assuming that the leading "Maildir/" is redundant, as is the pointer
to the "new" folder.
--
Paul Chvostek <paul at it.ca>
it.canada http://www.it.ca/
Free PHP web hosting! http://www.it.ca/web/
More information about the freebsd-questions
mailing list