blob: af763aed2f055cc16dcf93db5597f6aaf4f98c80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
<?xml version="1.0"?>
<filterdescription>
<partset>
<part name="sender">
<title>Sender</title>
<input type="optionlist" name="sender-type">
<option value="contains">
<title>contains</title>
<code>(match-all (header-contains "From" ${sender}))</code>
</option>
<option value="not contains">
<title>does not contain</title>
<code>(match-all (not (header-contains "From" ${sender})))</code>
</option>
</input>
<input type="string" name="sender"/>
</part>
<part name="to">
<title>Recipients</title>
<input type="optionlist" name="recipient-type">
<option value="contains">
<title>contains</title>
<code>
(match-all (or (header-contains "To" ${recipient})
(header-contains "Cc" ${recipient})))
</code>
</option>
<option value="not contains">
<title>does not contain</title>
<code>
(match-all (not (or
(header-contains "To" ${recipient})
(header-contains "Cc" ${recipient}))))
</code>
</option>
</input>
<input type="address" name="recipient"/>
</part>
<part name="subject">
<title>Subject</title>
<input type="optionlist" name="subject-type">
<option value="contains">
<title>contains</title>
<code>
(match-all (header-contains "Subject" ${subject}))
</code>
</option>
<option value="not contains">
<title>does not contain</title>
<code>
(match-all (not (header-contains "Subject" ${subject})))
</code>
</option>
</input>
<input type="string" name="subject"/>
</part>
<part name="body">
<title>Message Body</title>
<input type="optionlist" name="body-type">
<option value="contains">
<title>contains</title>
<code>
(body-contains ${word})
</code>
</option>
<option value="not contains">
<title>does not contain</title>
<code>
(not (body-contains "Subject" ${word}))
</code>
</option>
</input>
<input type="string" name="word"/>
</part>
<part name="sexp">
<title>Expression</title>
<input type="code" name="code"/>
</part>
</partset>
</filterdescription>
|