Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2004 22:27:12 +0100
From:      Oliver Fuchs <oliverfuchs@onlinehome.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Procmail Lockfile
Message-ID:  <20041221212712.GA1929@oliverfuchs.onlinehome.de>
In-Reply-To: <20041221205621.GA31153@gardnerbell.ca>
References:  <20041221205621.GA31153@gardnerbell.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 21 Dec 2004, 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

You want the receipe to store emails in
/home/you/Mail/Lists/FreeBSD-Questions?
So the receipe has to be:

	:0:
	* ^TO.*questions@freebsd\.org
	Lists/FreeBSD-Questions


Oliver
-- 
... don't touch the bang bang fruit



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