From owner-freebsd-questions@FreeBSD.ORG Fri Jan 25 18:51:40 2008 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 0856616A468 for ; Fri, 25 Jan 2008 18:51:40 +0000 (UTC) (envelope-from mark@foster.cc) Received: from smtp.foster.cc (dango.foster.cc [64.79.194.43]) by mx1.freebsd.org (Postfix) with ESMTP id EEB3F13C447 for ; Fri, 25 Jan 2008 18:51:39 +0000 (UTC) (envelope-from mark@foster.cc) Received: from [10.1.253.55] (unknown [198.134.96.10]) by smtp.foster.cc (Postfix) with ESMTP id CEB29350D1A9; Fri, 25 Jan 2008 10:51:36 -0800 (PST) Message-ID: <479A2FB3.2030900@foster.cc> Date: Fri, 25 Jan 2008 10:51:31 -0800 From: "Mark D. Foster" User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: "J. Johnston" References: <479A1E9A.9030406@stormy.smart-serv.net> In-Reply-To: <479A1E9A.9030406@stormy.smart-serv.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Spam filtering with dspam and postfix 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: Fri, 25 Jan 2008 18:51:40 -0000 J. Johnston wrote: > Hello, > > I was wondering if anyone knew of a good howto, or some tips for > filtering spam using dspam in a setup where virtual users (various > domains) are stored in LDAP. Currently we hand off email to dspam in > the filter stage and dspam hands it back into postfix as lmtp, the > problem with this is the current setup uses (and only howto I can > find) one user for dspam, so the quarantine is under one username, we > would like to separate this so each user@domain has their own > quarantines. Just setup postfix + dspam + procmail last week, although on Ubuntu...conceptually the same. Here is the article I followed: http://www.freesoftwaremagazine.com/articles/focus_spam_dspam?page=0%2C0 I used dspam as the delivery agent (mailbox_command) which in turn calls procmail. Turning this into a working configuration took a LOT of tuning... it's still not quite right but alas DSPAM (after training) is doing a nice job of filtering more than 90% of what gets past the DNSBL. End result, I am only seeing a few spam messages per day, and those are the odd/terse kind. -- Some days it's just not worth chewing through the restraints... Mark D. Foster, CISSP http://mark.foster.cc/