[Dovecot] Dovecot and Bogofilter

Patrick Nagel patrick.nagel at star-group.net
Mon Nov 10 03:54:51 EET 2008


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

Thorsten Vollmer wrote:
> On Sun, 2008-11-09 at 22:39 +0100, Matthias-Christian Ott wrote:
>> An other problem is that each mail needs to be initially classified and
>> due to the fact that sieve is not able to execute external programmes,
>> deliver has to do this task. I'm currently thinking of possibilities to
>> implement this, so far I came up with the following:
>>
>>   1. Write a generic pipe plugin which can execute an arbitrary number of
>>      programmes. The problem with this is that I'm not sure how to
>>      integrate this is in Dovecot's configuration file. I thought of
>>      something like this: pipe = prg1 | prg2
> 
> You do not need a plugin if you do the classification before the
> delivery: MTA | classification | LDA

With postfix, just add bogofilter as transport to master.cf and make it the
'mailbox_transport'.

The problem with modifying the mail after reclassification persists, hope this
can be solved. Then I could also finally move from
postfix-procmail-bogofilter-cron-dovecot to
postfix-deliver-antispam-bogofilter-dovecot. :)

Patrick.

- --
STAR Software (Shanghai) Co., Ltd.              http://www.star-group.net/
Phone:    +86 (21) 3462 7688 x 826               Fax:   +86 (21) 3462 7779

PGP key:  E883A005 https://stshacom1.star-china.net/keys/patrick_nagel.asc
Fingerprint:             E09A D65E 855F B334 E5C3 5386 EF23 20FC E883 A005
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJF5Rh7yMg/OiDoAURAkE4AJ4zYh/J4WKCsN/xwGGKA66N3sKNQwCeNDrh
prjS37amcH+vDH1kwyqyDxY=
=f9Rm
-----END PGP SIGNATURE-----


More information about the dovecot mailing list