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                                             <[EMAIL PROTECTED]>
  it.canada                                            http://www.it.ca/
  Free PHP web hosting!                            http://www.it.ca/web/

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to