From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 22:37:47 2007 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 2330D16A421 for ; Fri, 24 Aug 2007 22:37:47 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.tilbu1.nb.home.nl (smtpq1.tilbu1.nb.home.nl [213.51.146.200]) by mx1.freebsd.org (Postfix) with ESMTP id D0AC713C457 for ; Fri, 24 Aug 2007 22:37:46 +0000 (UTC) (envelope-from peter@boosten.org) Received: from [213.51.146.188] (port=45072 helo=smtp3.tilbu1.nb.home.nl) by smtpq1.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1IOhPW-0003H9-Ei; Sat, 25 Aug 2007 00:13:46 +0200 Received: from cp268254-a.landg1.lb.home.nl ([213.51.103.48]:4904 helo=ra.egypt.nl) by smtp3.tilbu1.nb.home.nl with esmtp (Exim 4.30) id 1IOhPT-0003E2-H9; Sat, 25 Aug 2007 00:13:43 +0200 Received: from ra.egypt.nl (localhost.egypt.nl [127.0.0.1]) by ra.egypt.nl (Postfix) with ESMTP id D4F2F398B6; Sat, 25 Aug 2007 00:13:42 +0200 (CEST) Received: by ra.egypt.nl (Postfix, from userid 501) id AC813398AB; Sat, 25 Aug 2007 00:13:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on ra.egypt.nl X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham version=3.2.3 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id 87FD839885; Sat, 25 Aug 2007 00:13:38 +0200 (CEST) Message-ID: <46CF580B.5090706@boosten.org> Date: Sat, 25 Aug 2007 00:13:31 +0200 From: Peter Boosten User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: Eric Crist References: <50DA0D96-3321-4ED0-AC2B-65AB65D62BAC@gmail.com> <20070824095900.CF34.GERARD-SEIBERT@seibercom.net> <79C0FC51-664A-46FA-A56F-146F32ABC2AD@gmail.com> In-Reply-To: <79C0FC51-664A-46FA-A56F-146F32ABC2AD@gmail.com> X-Enigmail-Version: 0.95.3 OpenPGP: url=http://www.boosten.org/content/view/49/47/ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 000768-1, 08/24/2007), Outbound message X-Antivirus-Status: Clean X-Virus-Scanned: ClamAV using ClamSMTP X-AtHome-MailScanner-Information: Please contact support@home.nl for more information X-AtHome-MailScanner: Found to be clean Cc: User Questions Subject: Re: Postfix/SpamAssassin Guru? 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, 24 Aug 2007 22:37:47 -0000 Eric Crist wrote: > On Aug 24, 2007, at 9:05 AMAug 24, 2007, Gerard wrote: > >> On August 24, 2007 at 09:32AM Eric Crist wrote: >> >> > > I've got Postfix with Dovecot and virtual users setup. What I'm looking > for is some filtering based on the flags SpamAssassin sets, so that I > can route any messages tagged as Spam to a Spam directory with a users > maildir. Assuming you got SA running: In my main.cf: header_checks = regexp:/etc/postfix/header_checks This is in my header_checks: /^X-Spam-Flag: YES/ REDIRECT mailbox@you.desire Peter -- http://www.boosten.org