3 # Create a file that is accessible only to the Exim user
4 sudo rm -f DIR/test-private
6 sudo chown EXIMUSER:EXIMGROUP DIR/test-private
7 sudo chmod 0600 DIR/test-private
9 exim -bf DIR/aux-fixed/TESTNUM.f-1 </dev/null
12 exim -bf DIR/aux-fixed/TESTNUM.f-2 </dev/null
14 exim -bF DIR/aux-fixed/TESTNUM.f-3 </dev/null
17 exim -bf DIR/aux-fixed/TESTNUM.f-4 </dev/null
20 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
23 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
27 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
31 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
33 Subject: north circular road
36 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
41 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
46 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
51 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
52 To: abcdefgh@bzzzt.fix.no
56 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
58 Auto-Submitted: auto-replied
61 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
63 List-Unsubscribe: xxxx
66 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
68 From: abcd-request@some.domain
71 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
73 From: owner-abcd@some.domain
76 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
78 From: The list manager <majordomo@some.domain>
81 exim -bf DIR/aux-fixed/TESTNUM.f-4 -f anon@ymous
82 To: abc@xyz.com, Philip <CALLER@test.ex>, pqr@xyz.com
84 exim -bf DIR/aux-fixed/TESTNUM.f-6 </dev/null
86 exim -bf DIR/aux-var/TESTNUM.f-7 </dev/null
90 Remove-this: should get removed
92 exim -odi userx abcd usery
93 Subject: should fail this
98 Subject: should freeze this
103 Subject: reply to this
107 exim -odi filter-pipe
108 Subject: should give filter error (1)
110 exim -odi filter-file
111 Subject: should give filter error (2)
113 exim -odi filter-lookup
114 Subject: should give filter error (3)
116 exim -odi filter-exists
117 Subject: should give filter error (4)
119 exim -odi filter-readfile
120 Subject: should give filter error (5)
123 Subject: should give filter error (6)
125 exim -odi filter-vacation
126 Subject: should give rise to vacation message
128 exim -bF DIR/aux-fixed/TESTNUM.f-5 </dev/null
139 Subject: should freeze this
141 Freeze this (second message).
146 Should fail ${readfile in filter.
148 exim -bF DIR/aux-var/TESTNUM.F <DIR/aux-fixed/TESTNUM.msg
150 exim -odi deliverfromfilter
151 Test deliver command in system filter
153 exim -bF DIR/aux-var/TESTNUM.F
154 Test-headers: first one
156 Test-headers: another one
157 More-test-headers : yet another one
158 Subject: testing, testing
160 exim -odi -d-all+route filter-userx
163 Subject: should defer this
167 # Vacation to a sender in never_mail
168 exim -odi -f never_mail@test.ex filter-vacation
169 Subject: should give rise to vacation message
171 exim -odi filter-stat
172 Subject: should give filter error (7)
174 # Check prepend $home
175 exim -bt prepend@test.ex
177 # Check not prepend $home
178 exim -DFILTER_PREPEND_HOME=no_filter_prepend_home -bt prepend@test.ex
180 # Check error for (un)seen and no command
182 exim -bf DIR/aux-fixed/TESTNUM.f-8 </dev/null
184 # Check error for (un)seen at eof
186 exim -bf DIR/aux-fixed/TESTNUM.f-9 </dev/null