Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
cdef50a8
...
cdef50a8dc1148039314b0005305b079b0059125
authored
2002-11-15 15:18:18 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Require redirect.
1 parent
5b410a0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
sieve/examples/ex-3.1b.sv
sieve/examples/example.sv
sieve/testsuite/sieve/action.exp
sieve/examples/ex-3.1b.sv
View file @
cdef50a
require
[
"redirect"
]
;
if
header
:
contains
[
"From"
]
[
"coyote"
]
{
redirect
"acm@example.edu"
;
}
elsif
header
:
contains
"Subject"
"$$$"
{
...
...
sieve/examples/example.sv
View file @
cdef50a
#
Example
sieve
script
.
require
"fileinto"
;
require
[
"fileinto"
,
"redirect"
]
;
if
size
:
over
20
{
fileinto
"/home/sam/p/gnu/mailutils/cmu-sieve/sv/inbox"
;
...
...
sieve/testsuite/sieve/action.exp
View file @
cdef50a
...
...
@@ -17,14 +17,14 @@
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
sieve_test stop.sv -pattern
\
"
KEE
P on msg uid 1"
\
"
KEE
P on msg uid 2"
\
"
KEE
P on msg uid 3"
"
STO
P on msg uid 1"
\
"
STO
P on msg uid 2"
\
"
STO
P 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"
\
...
...
Please
register
or
sign in
to post a comment