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