From owner-freebsd-questions@FreeBSD.ORG Fri Feb 27 13:23:35 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 CD91816A4CE for ; Fri, 27 Feb 2004 13:23:35 -0800 (PST) Received: from moonshine (213-84-173-33.adsl.xs4all.nl [213.84.173.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C9F843D1D for ; Fri, 27 Feb 2004 13:23:33 -0800 (PST) (envelope-from albi@eyfa.org) Received: by moonshine (Postfix, from userid 1002) id 0A099494; Fri, 27 Feb 2004 22:23:59 +0100 (CET) Date: Fri, 27 Feb 2004 22:23:59 +0100 From: albi To: freebsd-questions@freebsd.org Message-Id: <20040227222359.6c95eef4@moonshine.eyfa.org> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.9claws (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: procmail 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: Fri, 27 Feb 2004 21:23:36 -0000 On Fri, 27 Feb 2004 14:56:50 -0600 "Brian H" wrote: > I am trying to get procmail to send email to my Maildir in my home > directory, but > it keeps putting it in /var/mail/henninb. I am sure I just missed a > setting, can someone help point it out. here is how everything is > setup currently. ------ cut for brevity ------ > ~/.pmdir> cat recipes > :0: > * ^FROM:.*(aol.com|spamsenders) > /dev/null > > :0: > Inbox/ > > cat .qmail > |preline /usr/bin/procmail -t ~/.procmailrc || exit 111 > > > cat .procmailrc > VERBOSE=on > MAILDIR=$HOME/Maildir/ > PMDIR=$HOME/.pmdir > LOGFILE=$PMDIR/log here's an example with postfix + procmail (looks like you should remove the :0: Inbox lines : $ less .forward |/usr/bin/procmail $ less .procmailrc VERBOSE=off SHELL=/bin/sh DEFAULT=$HOME/Maildir/ ORGMAIL=$HOME/Maildir/ MAILDIR=$HOME/Maildir/ PMDIR=$HOME/.procmail LOGFILE=$PMDIR/log