Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 13:37:54 -0400
From:      Paul Chvostek <paul+fbsd@it.ca>
To:        freebsd-questions@freebsd.org
Subject:   Re: Procmail Recipie For FreeBSD Lists?
Message-ID:  <20030703173754.GA7425@mail.it.ca>
In-Reply-To: <00de01c34186$445cc760$6e2a6ba5@lc.ca.gov>
References:  <20030703161246.GA67762@mail.it.ca> <00de01c34186$445cc760$6e2a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
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@it.ca>
  it.canada                                            http://www.it.ca/
  Free PHP web hosting!                            http://www.it.ca/web/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030703173754.GA7425>