[Dovecot] How about a "pipe" plugin?

Robert Schetterer robert at schetterer.org
Thu May 24 09:51:45 EEST 2007


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

Nicolas Boullis schrieb:
> Hi,
> 
> I have written a plugin so that each time a message is added to a
> specific box, a program is run and the message is piped into it. Note
> that the message is also really added to the box.
> 
> I've been using it for nearly 3 month, for spam/ham learning, and have
> not had any problem with it. I guess it could also be used to implement
> an out box (I remember seeing someone asking for such a feature on this
> list). Currently, I use it with a config like this:
> 
> (...)
> namespace private {
>    separator = .
>    location = maildir:/var/mail/%u
>    inbox = yes
>    hidden = no
> }
> 
> namespace public {
>    separator = .
>    prefix = learn.
>    location = maildir:/var/learn/%u
>    inbox = no
>    hidden = no
> }
> (...)
> plugin {
> (...)
>   pipe = /var/learn/%u/.spam:spamc -d some.host -L spam
>   pipe2 = /var/learn/%u/.ham:spamc -d some.host -L ham
> (...)
> }
> 
> 
> Would people be interested by such a feature? If enough people show some
> interest, I can try to convince my boss to let me release this plugin
> GPL-licensed.
> 
> 
> Cheers,
> 
> Nicolas Boullis
> 
Hi Nicola, that sounds interesting, even spam learning can be done in
other ways too ( filters etc ) ,but in general its a nice to have feature

- --
Mit freundlichen Gruessen
Best Regards

Robert Schetterer

https://www.schetterer.org
Munich/Bavaria/Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFGVTYBfGH2AvR16oERAlxrAJwI8kKPvUHb2/dLqO0VihYAfPJDLgCfdMrN
m+SnQec2K2yySN6A8HrqSOQ=
=qDeV
-----END PGP SIGNATURE-----



More information about the dovecot mailing list