Date: Sat, 22 Dec 2001 14:57:59 -0500 (EST) From: Dru <genisis@istar.ca> To: Tor Stormwall <tor@agent.creson.com> Cc: Martin Karlsson <martin.karlsson@visit.se>, <freebsd-questions@FreeBSD.ORG> Subject: Re: Regarding Procmail on FreeBSD Message-ID: <20011222145618.B85100-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> In-Reply-To: <20011222203644.B25613-100000@bossen.myhome.my>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011222145618.B85100-100000>