Kamil Jońca
2012-Apr-14 12:13 UTC
[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-bosch-sieve-pipe.txt KJ -- http://sporothrix.wordpress.com/2011/01/16/usa-sie-krztusza-kto-nastepny/ Gloffing is a state of mine.
Stephan Bosch
2012-Apr-14 22:36 UTC
[Dovecot] Sieve pipe extension - can it retur something?
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.txtFor 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.