Add sieve pipe and filter (#574)

* First pass at adding support for pipe and filter in Sieve, excluding unit tests.
* Reduce insight into copied scripts
* Added test
* Adjustments related to switch to 16.04
This commit is contained in:
Arne Kepp 2017-05-10 09:54:02 +02:00 committed by Thomas VIAL
parent 070f0da014
commit c0530491c3
8 changed files with 153 additions and 1 deletions

View file

@ -0,0 +1,2 @@
#!/bin/bash
cat - > /tmp/pipe-test.out

View file

@ -0,0 +1,4 @@
require ["copy", "vnd.dovecot.pipe"];
if header :contains "subject" "Sieve pipe test message" {
pipe :copy "pipe_to_tmp";
}