summaryrefslogtreecommitdiff
path: root/sieve
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-12-13 16:29:58 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2016-12-13 16:29:58 +0200
commita1612b96fc4592af50cb65caff5b54e74f437b09 (patch)
tree6c7f89fd43a43e212202be0739bab1e35d6f2266 /sieve
parent98011160928d6891abb5af1d67ebf2a6124e558b (diff)
downloadmailutils-a1612b96fc4592af50cb65caff5b54e74f437b09.tar.gz
mailutils-a1612b96fc4592af50cb65caff5b54e74f437b09.tar.bz2
Document changes to Sieve
* NEWS: Update. * doc/texinfo/libmu_sieve.texi: Update. * doc/texinfo/sieve.texi: Document extensions * libmu_sieve/comparator.c (mu_sieve_match_part_checker): Check the type of the 2nd argument. * sieve/sieve.c: Define "location" and "phase" environment items. * sieve/tests/pipetest.at: Use "pipe" as the capability string.
Diffstat (limited to 'sieve')
-rw-r--r--sieve/sieve.c2
-rw-r--r--sieve/tests/pipetest.at2
2 files changed, 3 insertions, 1 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index edf3b754f..8cb77bc86 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -484,6 +484,8 @@ main (int argc, char *argv[])
mu_error (_("cannot initialize sieve machine: %s"), mu_strerror (rc));
return EX_SOFTWARE;
}
+
+ sieve_setenv ("phase=post", mach);
mu_list_foreach (env_list, sieve_setenv, mach);
mu_list_destroy (&env_list);
diff --git a/sieve/tests/pipetest.at b/sieve/tests/pipetest.at
index f8390605a..d09313fab 100644
--- a/sieve/tests/pipetest.at
+++ b/sieve/tests/pipetest.at
@@ -17,7 +17,7 @@
m4_pushdef([MUT_SIEVE_EXT_NAME],[pipe test])
MUT_SIEVE_EXT_TEST([],[pipetest00],
-[require "test-pipe";
+[require "pipe";
if pipe :header "$cwd/ckmsg"
{
discard;

Return to:

Send suggestions and report system problems to the System administrator.