Testsuite: fix 0173 + 2100+, take 2
[exim.git] / test / aux-var-src / 0037.f-user
CommitLineData
afda344b
PH
1# Exim filter
2
3if $local_part is filter-pipe then
4 pipe "cat"
5elif $local_part is filter-file then
6 save /tmp/junk
7elif $local_part is filter-lookup then
8 deliver ${lookup{$local_part}lsearch{/etc/passwd}{$value}fail}
9elif $local_part is filter-exists then
10 deliver "${if exists{/tmp/junk}{abc}{def}}"
11elif $local_part is filter-stat then
12 deliver "${if eq{${stat:/tmp/junk}}{}{abc}{def}}"
13elif $local_part is filter-readfile then
14 deliver ${readfile{/some/file}}
15elif $local_part is filter-run then
16 deliver ${run{/some/script}}
17elif $local_part is filter-vacation then
18 seen vacation text "this is vacation text"
19 file /dev/null
20 log /dev/null
21 once DIR/test-once
22elif $local_part is filter-userx then
23 deliver userx
8852dff2
PH
24elif $local_part is filter-resubject then
25 seen mail subject "Re: $h_subject:"
afda344b 26endif