From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 14:26:51 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 7BC5037B401 for ; Thu, 3 Jul 2003 14:26:51 -0700 (PDT) Received: from blacklamb.mykitchentable.net (65-37-69-83.bras01.elk.ca.frontiernet.net [65.37.69.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 932064400F for ; Thu, 3 Jul 2003 14:26:50 -0700 (PDT) (envelope-from drew@mykitchentable.net) Received: from tagalong (unknown [165.107.42.110]) by blacklamb.mykitchentable.net (Postfix) with SMTP id DFE813BF35A; Thu, 3 Jul 2003 07:27:25 -0700 (PDT) Message-ID: <023f01c341a9$d0b92960$6e2a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: "Paul Chvostek" , , "parv" References: <20030703161246.GA67762@mail.it.ca><00de01c34186$445cc760$6e2a6ba5@lc.ca.gov> <20030703173754.GA7425@mail.it.ca> Date: Thu, 3 Jul 2003 14:26:49 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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 21:26:51 -0000 ----- Original Message ----- From: "Paul Chvostek" To: Sent: Thursday, July 03, 2003 10:37 AM > 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:[^<]+ FreeBSD/$MATCH/ > > I'm assuming that the leading "Maildir/" is redundant, as is the pointer > to the "new" folder. Thanks for pointing out my oversight and all of the help so far. I've added the "/" and now my recipe is: :0 * ^List-Id:[^<]+