[Dovecot] Spam filtering

Marcus Rueckert darix at opensu.se
Mon Dec 14 22:30:54 EET 2009


On 2009-12-14 23:16:14 +0300, Dmitri V. Ivanov wrote:
> On Sat, Dec 12, 2009 at 01:04:38AM -0500, Charles Marcus wrote:
> 
> > And yes, it is *very* effective, especially after your ham/spam
> > collections mature for your site...
> 
> Now offtopic question, but anyway. Is there some plugin for deliver to pipe message througth 
> bogofilter/spamassassin/spambayes/... before running sieve?
> 
> spam/ham collections (mostly last one) is different for different users at real life and it's
> desirable that each delivery address to have an ability to use it's own filter database.
> 
> I've used maildrop for this, but there is some unnessessary things (maintaining courier userdb).
> 
> Let's assume I have bogofilter, INBOX is really $HOME/Maildir, bogofilter dir is $HOME/bogofilter
> and I need to check existance of bogofilter data and if it exist pipe message to bogofilter (with
> pointing to $HOME/bogofilter as bogofilter directory like "-d $HOME/bogofilter"). Now with some
> options bogofilter will add spamicity header and I can match against it with sieve.
> 
> Is there a way do something like that with deliver?

why not do it on MTA level? those already have the hooks for it
normally. no need to reinvent the wheel imho.

    darix

-- 
           openSUSE - SUSE Linux is my linux
               openSUSE is good for you
                   www.opensuse.org


More information about the dovecot mailing list