[Dovecot] Dovecot and Bogofilter

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Nov 11 13:44:04 EET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 10 Nov 2008, Matthias-Christian Ott wrote:

>> If you want something and Dovecot's deliver doesn't fit your needs,
>> consider maildrop, <http://www.courier-mta.org/maildrop/>
>
> Looks a bit bloated to me.

I'm not sure if I missed that part about the shell script, someone 
suggested.

You could use something like:

#!/bin/bash

bogofilter | dovecot-deliver "$@"

replacing the orginal dovecot-deliver in the conf.
If bogofilter does not support to pipe the message through, there will be 
other ways.

Besides that you have just one additional exec() (the shell) for each 
delivery and you already inject the modified message to deliver. Or did I 
misunderstood the problem, and you want the antispam to change the 
message, when a mail is copied into / out of the SPAM folder via IMAP?

Bye,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJGXAGVJMDrex4hCIRAhlvAKCcIA6KcRxhdIj1oPBam/pcWUu3uwCgvw0T
sgzJ2i4nzHcxR+UCY591n5w=
=xLhH
-----END PGP SIGNATURE-----


More information about the dovecot mailing list