From owner-freebsd-questions Sat Dec 22 11:49:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail1.toronto.istar.net (mail1.toronto.istar.net [209.89.75.17]) by hub.freebsd.org (Postfix) with ESMTP id BF03A37B405 for ; Sat, 22 Dec 2001 11:49:31 -0800 (PST) Received: from d226-39-102.home.cgocable.net ([24.226.39.102] helo=x1-6-00-50-ba-de-36-33.kico1.on.home.com) by mail1.toronto.istar.net with esmtp (Exim 2.02 #1) id 16Hs9X-0002by-00; Sat, 22 Dec 2001 14:49:51 -0500 Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.6/8.11.6) with ESMTP id fBMJvxE86194; Sat, 22 Dec 2001 14:58:00 -0500 (EST) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Sat, 22 Dec 2001 14:57:59 -0500 (EST) From: Dru X-X-Sender: To: Tor Stormwall Cc: Martin Karlsson , Subject: Re: Regarding Procmail on FreeBSD In-Reply-To: <20011222203644.B25613-100000@bossen.myhome.my> Message-ID: <20011222145618.B85100-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 22 Dec 2001, Tor Stormwall wrote: > > > 1. You do have a directory ~/mail? > Yes. I'm using Pine. > > > > > > # Accept all the rest to your default mailbox > > > :0: > > > Inbox > > > > 2. You do have an mbox-file or a maildir called Inbox in aforementioned? > I have a ~/mail/Inbox file. > > > The thing is that I'm trying to filter all my incoming mail to > Inbox at first so I really know that procmail is working properly. Then > add filters for mailinglists etc. > > I changed .procmailrc so it included the variable DEFAULT, like this: > > HOME=/home/tor > SHELL=/bin/sh #Use the Bourne shell (check your path!) > MAILDIR=${HOME}/mail #First check what your mail directory is! > LOGFILE=${HOME}/procmail.log > LOG="--- Logging ${LOGFILE} for ${LOGNAME}, " > DEFAULT=$MAILDIR/Inbox > > # Accept all the rest to your default mailbox > :0: > $DEFAULT > > Still it wont filter my mail. Instead they disapear. Hi Tor, Don't know if it's a Pine thing or what, but I changed my default folder from "Inbox" to "mbox" and it worked. Couldn't delete the Inbox folder as it's a default folder which is sort of irritating, but it works. Maybe someone else has a more elegant solution. Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message