From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 10:38:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDC9637B401 for ; Thu, 3 Jul 2003 10:38:10 -0700 (PDT) Received: from haggis.it.ca (haggis.it.ca [216.126.86.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31D5E43FDF for ; Thu, 3 Jul 2003 10:38:10 -0700 (PDT) (envelope-from paul@haggis.it.ca) Received: from haggis.it.ca (paul@localhost [127.0.0.1]) by haggis.it.ca (8.12.9/8.12.9) with ESMTP id h63HbsU9012521 for ; Thu, 3 Jul 2003 13:37:54 -0400 (EDT) (envelope-from paul@haggis.it.ca) Received: (from paul@localhost) by haggis.it.ca (8.12.9/8.12.6/Submit) id h63Hbsgc012520 for freebsd-questions@freebsd.org; Thu, 3 Jul 2003 13:37:54 -0400 (EDT) (envelope-from paul) Date: Thu, 3 Jul 2003 13:37:54 -0400 From: Paul Chvostek To: freebsd-questions@freebsd.org Message-ID: <20030703173754.GA7425@mail.it.ca> References: <20030703161246.GA67762@mail.it.ca> <00de01c34186$445cc760$6e2a6ba5@lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00de01c34186$445cc760$6e2a6ba5@lc.ca.gov> User-Agent: Mutt/1.4.1i Subject: Re: Procmail Recipie For FreeBSD Lists? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 17:38:11 -0000 On Thu, Jul 03, 2003 at 10:12:22AM -0700, Drew Tomlinson wrote: > > :0: > * ^List-Id:[^<]+ 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:[^<]+ it.canada http://www.it.ca/ Free PHP web hosting! http://www.it.ca/web/