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