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