From owner-freebsd-questions@FreeBSD.ORG Tue Dec 21 22:37:07 2004 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 6ECA316A4CE for ; Tue, 21 Dec 2004 22:37:07 +0000 (GMT) Received: from hong.homeunix.net (65-100-8-126.eugn.qwest.net [65.100.8.126]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25DB443D48 for ; Tue, 21 Dec 2004 22:37:07 +0000 (GMT) (envelope-from ljfong@hong.homeunix.net) Received: by hong.homeunix.net (Postfix, from userid 1001) id 8C004858C; Tue, 21 Dec 2004 14:37:06 -0800 (PST) Date: Tue, 21 Dec 2004 14:37:06 -0800 From: Lin Jianfong To: freebsd-questions@freebsd.org Message-ID: <20041221223706.GA66072@hong> Mail-Followup-To: Lin Jianfong , freebsd-questions@freebsd.org References: <20041221205621.GA31153@gardnerbell.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041221205621.GA31153@gardnerbell.ca> User-Agent: Mutt/1.4.2.1i Subject: Re: Procmail Lockfile 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: Tue, 21 Dec 2004 22:37:07 -0000 On Tue, Dec 21, 2004 at 03:56:21PM -0500, Gardner Bell wrote: > Hi, > I'm trying to setup procmail to deliver my mail but I continuously receive the following errors in my log file. > procmail: Locking ~/Mail/Lists/FreeBSD-Questions.lock > procmail: Error while writing to "~/Mail/Lists/_YmHxxx.gardnerbell.ca" > I do receive my mail but it always ends up in the default location that I have specified. > > In my .procmailrc file I have the following environment variables: > MAILDIR=$HOME/Mail > DEFAULT=$HOME/Mail/received > PMDIR=$HOME/.procmailrc > LISTFOLDER=$HOME/Mail/Lists > SENDMAIL=/usr/sbin/sendmail > > This is the recipe that fails to acquire a lock > :0: > * ^(From|To).*freebsd.org > ~/Mail/Lists/FreeBSD-Questions > > The permissions on my Mail and Lists directory are set to drwx------ > Any help to resolve this is appreciated. > > TIA > > Gardner Bell > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" This would be a "me too" reply. I have similar setup as the one you have and I notice the failure of procmail acquiring lock whenever there are too many messages (more than 5k) in my "freebsd-questions" mail folder (mbox format). I'm also subscribed to freebsd-current, freebsd-stable and a host of other lists, but it only happens to me so far on freebsd-questions (highest volume list). The only work around is to keep the number of messages hovering below 5k or so. I suspect this is an obscure bug with procmail handling high volume mboxes. Maybe using mail folder instead of mbox will help, but I have not tried this. -- Hong