From owner-freebsd-questions@FreeBSD.ORG Wed Nov 17 16:03:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43CC8106566B for ; Wed, 17 Nov 2010 16:03:02 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 04DB08FC08 for ; Wed, 17 Nov 2010 16:03:02 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 44F8FE71F8; Wed, 17 Nov 2010 16:03:01 +0000 (GMT) Received: from unknown (client-86-27-40-229.glfd.adsl.virginmedia.com [86.27.40.229]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Wed, 17 Nov 2010 16:03:00 +0000 (GMT) Date: Wed, 17 Nov 2010 16:02:59 +0000 From: Bruce Cran To: AN Message-ID: <20101117160259.000067c8@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: spamassassin config help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 16:03:02 -0000 On Wed, 17 Nov 2010 15:42:51 +0000 (UTC) AN wrote: > I just setup a new mailserver on 8-stable using sendmail with > Spamassassin and ClamAv. Spam is being identified correctly, but it > is being delivered to users inbox. Would someone please suggest some > good documentation to configure mail marked as spam to a different > directory. Are there any scripts or tools to configure Spamassassin? > Where is the spamassassin config file? Thanks in advance for any > help. SpamAssassin just tags spam - you'd need to use procmail or something like it to move mail into different directories depending on the X-Spam-Level and/or X-Spam-Status headers. The spamassassin config lives in /usr/local/etc/mail/spamassassin, and the spamassassin site has lots of documentation. See http://wiki.apache.org/spamassassin/DeletingAllMailsMarkedSpam for more information about filtering spam into different directories. -- Bruce Cran