Commit cdef50a8 cdef50a8dc1148039314b0005305b079b0059125 by Sergey Poznyakoff

Require redirect.

1 parent 5b410a0a
require [ "redirect" ];
if header :contains ["From"] ["coyote"] {
redirect "acm@example.edu";
} elsif header :contains "Subject" "$$$" {
......
# Example sieve script.
require "fileinto";
require [ "fileinto", "redirect" ];
if size :over 20 {
fileinto "/home/sam/p/gnu/mailutils/cmu-sieve/sv/inbox";
......
......@@ -17,14 +17,14 @@
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
sieve_test stop.sv -pattern\
"KEEP on msg uid 1"\
"KEEP on msg uid 2"\
"KEEP on msg uid 3"
"STOP on msg uid 1"\
"STOP on msg uid 2"\
"STOP on msg uid 3"
sieve_test null.sv -pattern\
"KEEP on msg uid 1"\
"KEEP on msg uid 2"\
"KEEP on msg uid 3"
"IMPLICIT KEEP on msg uid 1"\
"IMPLICIT KEEP on msg uid 2"\
"IMPLICIT KEEP on msg uid 3"
sieve_test keep.sv -pattern\
"KEEP on msg uid 1"\
......