Support timeout option on malware=
[exim.git] / test / scripts / 4000-scanning / 4001
CommitLineData
a60f6c07
JH
1# content scan interface: f-protd
2#
3server PORT_S
4<GET
5<
6><summary code="11">
7>*eof
8****
9#
10#
11#
0f0c8159 12exim -odi -bs -DOPT=
a60f6c07
JH
13ehlo test.ex
14mail from:<>
15rcpt to:<userx@test.ex>
16data
17Date: Fri, 17 Dec 2004 14:35:01 +0100
18Subject: message should be accepted
19
20.
21quit
22****
23#
24#
25#
26server PORT_S
27<GET
28<
29>
30>
31>
32><detected type="foo">
33><name>wibble</name>
34><summary code="11">
35>*eof
36****
37#
38#
39#
0f0c8159 40exim -odi -bs -DOPT=
a60f6c07
JH
41ehlo test.ex
42mail from:<>
43rcpt to:<userx@test.ex>
44data
45Date: Fri, 17 Dec 2004 14:35:01 +0100
46Subject: message should be rejected
47
0f0c8159
JH
48due to the server response (above)
49.
50quit
51****
52#
53#
54#
55server PORT_S
56<GET
57*sleep 3
58****
59#
60#
61#
62exim -odi -bs -DOPT="/tmo=2s"
63ehlo test.ex
64mail from:<>
65rcpt to:<userx@test.ex>
66data
67Date: Fri, 17 Dec 2004 14:35:01 +0100
68Subject: message should be deferred due to timeout
69
70.
71quit
72****
73#
74#
75#
76server PORT_S
77<GET
78*sleep 3
79****
80#
81#
82#
83exim -odi -bs -DOPT="/tmo=2s/defer_ok"
84ehlo test.ex
85mail from:<>
86rcpt to:<userx@test.ex>
87data
88Date: Fri, 17 Dec 2004 14:35:01 +0100
89Subject: message should be accepted despite timeout
90
a60f6c07
JH
91.
92quit
93****