[Dovecot] Sieve pipe extension - can it retur something?
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-b...
KJ
-- http://sporothrix.wordpress.com/2011/01/16/usa-sie-krztusza-kto-nastepny/ Gloffing is a state of mine.
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-b...
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/d4683490a87...
Regards,
Stephan.
participants (2)
-
kjonca@o2.pl
-
Stephan Bosch