From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 11:10:40 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 7F9B916A41F for ; Wed, 28 Dec 2005 11:10:40 +0000 (GMT) (envelope-from lalev@sv-bg.com) Received: from mail.sv-bg.com (ns.sv-bg.com [213.222.60.18]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C1EE43D55 for ; Wed, 28 Dec 2005 11:10:36 +0000 (GMT) (envelope-from lalev@sv-bg.com) Received: (qmail 63802 invoked by uid 1010); 28 Dec 2005 13:12:46 -0000 Received: from unknown (HELO ?192.168.1.12?) (lalev@sv-bg.com@213.222.60.195) by mail.sv-bg.com with SMTP; 28 Dec 2005 13:12:46 -0000 Message-ID: <43B2729B.1030203@sv-bg.com> Date: Wed, 28 Dec 2005 13:10:19 +0200 From: Angelin Lalev User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: qmail + vpopmail + procmail 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, 28 Dec 2005 11:10:40 -0000 Greetings, It's been a long time since my last day as a system administrator, but recently I needed to install a qmail server for a friend. Although I had forgoten many things, I've managed to make a working netqmail 1.05 + SMTP-AUTH + TLS patch + qmail-scanner + spam-assassin + courier imap + vpopmail (mysql db) installation, following scattered trough internet documents and howto's. But now my friend's clients want all mail that is tagged as spam (in my case, prefixed with "[SPAM]" in the subject) moved to separate courier imap folder (for example .SPAM). I figured out (maybe I make error here) that I need procmail to deliver the mail to the different courier-imap folders in the Maildir. I couldn't find on the net clear algorithm that does that. (or at least I failed reproducing it). Anyone could help?