From owner-freebsd-questions Mon Apr 22 18:12: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from roc-66-66-72-6.rochester.rr.com (roc-66-66-72-6.rochester.rr.com [66.66.72.6]) by hub.freebsd.org (Postfix) with ESMTP id 0EAD837B417 for ; Mon, 22 Apr 2002 18:11:58 -0700 (PDT) Received: by roc-66-66-72-6.rochester.rr.com (Postfix, from userid 1000) id 9BD24901A00; Mon, 22 Apr 2002 21:10:41 -0400 (EDT) Date: Mon, 22 Apr 2002 21:10:41 -0400 From: mpd To: Adam M Ryan Cc: questions@freebsd.org Subject: Re: procmail and spamassissan Message-ID: <20020422211041.B32534@rochester.rr.com> References: <20020422201355.B32188@rochester.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from adam@powersurge.net on Mon, Apr 22, 2002 at 07:34:57PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Apr 22, 2002 at 07:34:57PM -0500, Adam M Ryan wrote: > I have tried all the options and changing the chmod of the dir, still > procmail doesn't work with SA. Does procmail work at all? Forget about SA for a minute, and see if procmail is working correctly. Once it is, getting SA to work should be trivial. > > I have sendmail running, procmail installed as well as SA, could it be a > problem that the actual mail doesn't reside in the /home/user dir? Do I > need anything special in the .procmail dir? Not to my knowledge. I keep my rules there, and my procmail log. That's about it, though. > > With my new files: > > p5@riptide[~]# cat .procmailrc > VERBOSE=no > MAILDIR=$HOME/mail > PMDIR=$HOME/.procmail > > :0fw > | spamassassin -P > > :0: > * ^X-Spam-Status: Yes > caughtspam > > p5@riptide[~]# cat .forward > "| spamassassin || exit 75" This doesn't look right. The SpamAssassin README says do this: 5. Create a .forward file in your home directory containing the below lines: "|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user" I don't know if this actually works or not, as my MTA handles running procmail for me. If your MTA isn't using procmail, then it needs to be invoked from the .forward file. > > > Thanks > > > mike -- ___________________________________________________________ "IT IS INTERACTIVE HANDSHAKE GOLD!!!" - Pokey the Penguin from "HAPPY BIRTHDAY POKEY" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message