From owner-freebsd-questions@FreeBSD.ORG Fri Apr 11 16:30:12 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C3A137B404 for ; Fri, 11 Apr 2003 16:30:12 -0700 (PDT) Received: from mf2.bredband.net (mf2.bredband.net [195.54.106.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E1F843F85 for ; Fri, 11 Apr 2003 16:30:10 -0700 (PDT) (envelope-from mk-freebsd@bredband.net) Received: from localhost.036-23-6f72652.cust.bredbandsbolaget.se ([213.112.193.73]) by mf2.bredband.net with ESMTP <20030411233009.SVKQ273.mf2@localhost.036-23-6f72652.cust.bredbandsbolaget.se>; Sat, 12 Apr 2003 01:30:09 +0200 Received: from c-49c170d5.036-23-6f72652.cust.bredbandsbolaget.se (localhost [127.0.0.1])with ESMTP id h3BNU94F077155; Sat, 12 Apr 2003 01:30:09 +0200 (CEST) (envelope-from mk-freebsd@bredband.net) Received: (from martink@localhost) (8.12.9/8.12.9/Submit) id h3BNTa6D077144; Sat, 12 Apr 2003 01:29:36 +0200 (CEST) (envelope-from mk-freebsd@bredband.net) Date: Sat, 12 Apr 2003 01:29:36 +0200 From: Martin Karlsson To: Dragoncrest Message-ID: <20030411232936.GB32300@c-49c170d5.bredbandsbolaget.se> Mail-Followup-To: Martin Karlsson , Dragoncrest , freebsd-questions@freebsd.org References: <5.2.0.9.2.20030411095411.01e52ec0@pop.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5.2.0.9.2.20030411095411.01e52ec0@pop.voyager.net> X-Powered-by: FreeBSD X-PGP-Keyid: 9C924660 X-PGP-Fingerprint: 5970 BE22 2C33 4D8F 53FD 7E34 66FF 9332 9C92 4660 X-PGP-Key: http://www.krutov.org/martin_karlsson.asc User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Can someone explain how to enable spam assassin? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 23:30:12 -0000 Hi, * Dragoncrest [2003-04-11 09.57 -0400]: > I've looked through all the readme's, I've looked through the as > many tutorials and man pages as I can find and even the emails > from this list. Everyone tells me to do something different. Yet > nothing seems to work. Can someone please either point me to, or > write out a very simple how to on setting up my system from > install of spam assassin to setting up procmail and making sure I > got everything? Thanks. My setup looks like this (using spamd/spamc): - Install SA from ports (mail/p5-Mail-SpamAssassin) This will put a file named spamd.sh-dist in /usr/local/etc/rc.d/ Rename that file to spamd.sh, and make it executable. - I use procmail, and have the following as the first recipe in ~/.procmailrc: -----8<------cut here------8<---------- # check for UCE, UBE with SpamAssassin :0fw |/usr/local/bin/spamc :0: * ^X-Spam-Status: Yes caught-spam --------->8------cut here--------->8--------- HTH, -- Martin Karlsson