Date: Wed, 28 Dec 2005 11:25:35 -0500 From: "Michael P. Soulier" <msoulier@digitaltorque.ca> To: Angelin Lalev <lalev@sv-bg.com> Cc: freebsd-questions@freebsd.org Subject: Re: qmail + vpopmail + procmail Message-ID: <fb6605670512280825k3dd3c1f3ue948123195c7fea2@mail.gmail.com> In-Reply-To: <43B2729B.1030203@sv-bg.com> References: <43B2729B.1030203@sv-bg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/28/05, Angelin Lalev <lalev@sv-bg.com> 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 <msoulier@digitaltorque.ca> "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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb6605670512280825k3dd3c1f3ue948123195c7fea2>