MMA> Usually i have a postfix and courier imap server. But now i thought i would use dbmail MMA> since its database based, to see how it is.
Does anybody use Exim? ;-) As for filtering: in Exim transport for DBMail it is possible to specify an IMAP folder, to which the message will be placed. That's how I put Spam (marked with SA) to the Spam folder. So I thought: why not to make a 'wrapper' for the dbmail-smtp? The program, where Exim will put the letter; the program will possibly connect to the database to get user's sorting rules (or have some fixed ruleset, defined in it's conf-file), analyze the letter and make a decision to which IMAP-folder dbmail-smtp will place this message (it'll later pipe the message to dbmail-smtp). The ruleset for each user could also be fetched from SquirrelMail filtering plug-in (from MySQL, for example), so that the rulesets would be easily editable through web-interface on a per-user basis. Probably, this could also be used in other MTAs. Such or similar functionality could be very desirable in DBMail itself ;-) -- With best regards, Danil.
