Feature macros, show-supported and build-time selection for malware interfaces
[exim.git] / test / scripts / 4008_scan_cmdline / 4008
CommitLineData
093632c9
JH
1# content scan interface: cmdline
2#
3#
0f0c8159 4exim -DOPT=accept -odi -bs -DINSERT=
093632c9
JH
5ehlo test.ex
6mail from:<>
7rcpt to:<userx@test.ex>
8data
9Date: Fri, 17 Dec 2004 14:35:01 +0100
10Subject: message should be accepted
11
12.
13quit
14****
15#
16#
0f0c8159 17# the defer_ok should not prevent rejection
093632c9 18#
0f0c8159 19exim -DOPT=reject -odi -bs -DINSERT="/defer_ok"
093632c9
JH
20ehlo test.ex
21mail from:<>
22rcpt to:<userx@test.ex>
23data
24Date: Fri, 17 Dec 2004 14:35:01 +0100
25Subject: message should be rejected
26
27.
28quit
29****
0f0c8159
JH
30#
31#
32#
33exim -DOPT=pause3 -odi -bs -DINSERT="/tmo=2s"
34ehlo test.ex
35mail from:<>
36rcpt to:<userx@test.ex>
37data
38Date: Fri, 17 Dec 2004 14:35:01 +0100
39Subject: message should be tmp-rejected due to timeout
40
41.
42quit
43****
44#
45#
46#
47exim -DOPT=pause3 -odi -bs -DINSERT="/tmo=2s/defer_ok"
48ehlo test.ex
49mail from:<>
50rcpt to:<userx@test.ex>
51data
52Date: Fri, 17 Dec 2004 14:35:01 +0100
53Subject: message should be accepted despite a timeout
54
55.
56quit
57****