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