procmail

albi albi at saynotomicrosoft.org
Fri Feb 27 13:23:36 PST 2004


On Fri, 27 Feb 2004 14:56:50 -0600
"Brian H" <b1henning at 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



More information about the freebsd-questions mailing list