This is a discussion on Re: [courier-users] Still maildrop within the Courier-Imap forums, part of the Mail Servers and Related category; This doesn't appear to be a Courier issue as you've stated the question. You're using Courier-IMAP ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 | | ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |