From owner-freebsd-questions Mon Apr 22 18:35:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mercury.powersurge.net (mercury.powersurge.net [216.218.200.200]) by hub.freebsd.org (Postfix) with ESMTP id 2269937B41D for ; Mon, 22 Apr 2002 18:35:39 -0700 (PDT) Received: from irix.stures.iastate.edu ([64.113.75.4] helo=irix) by mercury.powersurge.net with smtp (Exim 3.34 #1) id 16zpDR-0007eG-00; Mon, 22 Apr 2002 18:35:33 -0700 Reply-To: From: "Adam M Ryan" To: "mpd" Cc: Subject: RE: procmail and spamassissan Date: Mon, 22 Apr 2002 20:32:55 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20020422211041.B32534@rochester.rr.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mercury.powersurge.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - powersurge.net 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 Actually I used the test for procmail, and I dont see it creating a IN-test. This is most likely the problem. But after running the test for procmail, it still doesn't work. Not even the log for procmail is created within Procmail. Does this have something to do with not have a global procmail config file? p5@riptide[~]# procmail DEFAULT=/dev/null VERBOSE=yes /dev/null 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