From owner-freebsd-questions@FreeBSD.ORG Wed Dec 28 16:25:37 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 ABCCB16A41F for ; Wed, 28 Dec 2005 16:25:37 +0000 (GMT) (envelope-from msoulier@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AAF343D53 for ; Wed, 28 Dec 2005 16:25:36 +0000 (GMT) (envelope-from msoulier@gmail.com) Received: by nproxy.gmail.com with SMTP id y38so566863nfb for ; Wed, 28 Dec 2005 08:25:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IaZvEaX+79Z4fP1AYeWdmDT+qSbykSZkzky6qvEOMGPT/JgCVAky2WbuD7DEGb2jSnoJtSIgS+A1INs9y4dm7t++J9wy41p9vAIRQp1d7xExs7azK0K65sVCXJYtx7aQXxAHvEussvcmr4fxrSL4s/KEKy1rUdyDDDOs2wHHVNI= Received: by 10.48.249.2 with SMTP id w2mr207312nfh; Wed, 28 Dec 2005 08:25:35 -0800 (PST) Received: by 10.48.225.4 with HTTP; Wed, 28 Dec 2005 08:25:35 -0800 (PST) Message-ID: Date: Wed, 28 Dec 2005 11:25:35 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: Angelin Lalev In-Reply-To: <43B2729B.1030203@sv-bg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43B2729B.1030203@sv-bg.com> Cc: freebsd-questions@freebsd.org Subject: Re: 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 16:25:37 -0000 On 12/28/05, Angelin Lalev wrote: > 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? This is up to the end user to do. My $HOME/.qmail looks like so | preline procmail ~/.procmailrc >From there, you can filter in .procmailrc like... :0 ^Subject:.*SPAM $MAILDIR/junkmail/ where MAILDIR=3D$HOME/Maildir, or some other appropriate place for the user= 's MUA. Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein