Procmail Lockfile

Gardner Bell gbell72 at rogers.com
Tue Dec 21 14:59:19 PST 2004


On Tue, Dec 21, 2004 at 02:08:52PM -0800 Joshua Tinnin wrote:
> On Tuesday 21 December 2004 01:27 pm, Oliver Fuchs 
> <oliverfuchs at onlinehome.de> wrote:
> > 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 at freebsd\.org
> > 	Lists/FreeBSD-Questions
> 
> I use:
> 
> * ^List-Id:.*freebsd-questions.freebsd.org
> 
> so that mail from other fbsd lists aren't mixed up in the wrong folders, 
> and so I can separate CC responses.
> 
> - jt

Both recipies have worked for me, thanks for the help

Gardner
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list