atom feed8 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Still maildrop
FromSent OnAttachments
Rocco ScappaturaJun 15, 2007 1:50 am 
Lindsay HaisleyJun 15, 2007 8:52 am 
Rocco ScappaturaJun 18, 2007 12:13 am 
Lindsay HaisleyJun 18, 2007 8:03 am 
Rocco ScappaturaJun 18, 2007 8:14 am 
Lindsay HaisleyJun 18, 2007 8:43 am 
Tim HunterJun 18, 2007 8:44 am 
Rocco ScappaturaJun 18, 2007 10:08 am 
Subject:Re: [courier-users] Still maildrop
From:Lindsay Haisley (fmou@fmp.com)
Date:Jun 15, 2007 8:52:11 am
List:net.sourceforge.lists.courier-users

This doesn't appear to be a Courier issue as you've stated the question. You're using Courier-IMAP to provide access to stored mail after it's been delivered, but you don't mention using maildrop as your delivery agent, except in your subject header.

If you were using Maildrop and Courier MTA, you could use the $USER variable in your maildrop filter rules, which can (on my servers it always does) contain the full email address of the delivery account. If you were using SpamAssassin for filtering your email you would want to store all information (Bayesian filtering info, user prefs, auto-whitelist info) in a MySQL database as well, and use "-u $USER" with all relevant SpamAssassin components.

SpamAssassin (probably also dspam and other spam detection programs) adds headers to email which can be tested and used for mail sorting. e.g., in my (still experimental) setup:

if( $SIZE < $SCANSPAMSIZE ) { xfilter "/usr/bin/spamc -u $USER -s $SCANSPAMSIZE" }

if (/^X-Spam-Status: *YES/:h) { exception { to "$DEFAULT/.Spam/" } }

On Fri, 2007-06-15 at 10:50 +0200, Rocco Scappatura wrote:

Hello,

I'm using Postfix+MySQl+Courier-IMAP as platform for postoffice mail server.

Could someone give me an hint on I can configure it so I can filter spam for a virtual user of a particular domain so that the spam is delivered in a spam folder?