[Dovecot] Sieve pipe extension - can it retur something?

Stephan Bosch stephan at rename-it.nl
Sun Apr 15 01:36:08 EEST 2012


Op 4/14/2012 2:13 PM, Kamil Jońca schreef:
>
> I have a question about sieve pipe: can it return something to further
> processing?
> For example in procmail I can do:
> --8<---------------cut here---------------start------------->8---
> :0
> VIRUS=`$CLAMSCAN --mbox --disable-summary --stdout -`
> --8<---------------cut here---------------end--------------->8---
> and then test VIRUS variable.
>
> Maybe I missing something, when read
> http://hg.rename-it.nl/pigeonhole-0.2-sieve-pipe/raw-file/tip/doc/rfc/spec-bosch-sieve-pipe.txt

For Pigeonhole 0.3/Dovecot 2.1 there is a new plugin called ExtPrograms. 
Apart from the 'pipe' extension it adds the 'execute' extension that 
should match just what you want:

http://hg.rename-it.nl/pigeonhole-0.3-sieve-extprograms/raw-file/d4683490a878/doc/rfc/spec-bosch-sieve-extprograms.txt

Regards,

Stephan.



More information about the dovecot mailing list