Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 22:23:59 +0100
From:      albi <albi@saynotomicrosoft.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: procmail
Message-ID:  <20040227222359.6c95eef4@moonshine.eyfa.org>
In-Reply-To: <BAY15-F51wgnOsjdxys000271d3@hotmail.com>
References:  <BAY15-F51wgnOsjdxys000271d3@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Feb 2004 14:56:50 -0600
"Brian H" <b1henning@hotmail.com> 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



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