On Friday 27 February 2004 03:55 pm, Henning, Brian wrote: > I tried removing everything in my recipes file, but that didn't work. > Any more thoughts? > > Thanks, > > brian > > -----Original Message----- > From: albi [mailto:[EMAIL PROTECTED] > Sent: Friday, February 27, 2004 3:24 PM > To: [EMAIL PROTECTED] > Subject: Re: procmail > > > On Fri, 27 Feb 2004 14:56:50 -0600 > > "Brian H" <[EMAIL PROTECTED]> 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
A couple of items: 1. In recipe examples that I've seen, there is a space between the zero and second colon in ":0 :". I don't know if this matters. 2. To test the recipes, make a copy of the mailbox and run formail. (formail is installed with procmail.) cd ~ cp /var/mail/henninb ./henninb2 formail -ds procmail < ./henninb2 If the recipes work, then the problem may be that procmail isn't being executed successfully. Good luck, Andrew Gould _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"