| From | Sent On | Attachments |
|---|---|---|
| Rocco Scappatura | Jun 15, 2007 1:50 am | |
| Lindsay Haisley | Jun 15, 2007 8:52 am | |
| Rocco Scappatura | Jun 18, 2007 12:13 am | |
| Lindsay Haisley | Jun 18, 2007 8:03 am | |
| Rocco Scappatura | Jun 18, 2007 8:14 am | |
| Lindsay Haisley | Jun 18, 2007 8:43 am | |
| Tim Hunter | Jun 18, 2007 8:44 am | |
| Rocco Scappatura | Jun 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?
-- Lindsay Haisley | "In an open world, | PGP public key FMP Computer Services | who needs Windows | available at 512-259-1190 | or Gates" | http://pubkeys.fmp.com http://www.fmp.com | |





