ATRN customer
[exim.git] / test / scripts / 4013_scan_fprot6d / 4013
1 # content scan interface: f-prot6d
2 need_ipv4
3 munge loopback
4 #
5 server PORT_S
6 <SCAN FILE
7 >0 <clean>
8 >*eof
9 ****
10 #
11 #
12 #
13 exim -odi -bs -DOPT=
14 ehlo test.ex
15 mail from:<>
16 rcpt to:<userx@test.ex>
17 data
18 Date: Fri, 17 Dec 2004 14:35:01 +0100
19 Subject: message should be accepted
20
21 .
22 quit
23 ****
24 #
25 #
26 #
27 server PORT_S
28 <SCAN FILE
29 >0 <infected: EICAR_Test_File> DIR/spool/scan/1clxBT-0003I9-8y/1clxBT-0003I9-8y.eml
30 >*eof
31 ****
32 #
33 #
34 #
35 exim -odi -bs -DOPT=
36 ehlo test.ex
37 mail from:<>
38 rcpt to:<userx@test.ex>
39 data
40 Date: Fri, 17 Dec 2004 14:35:01 +0100
41 Subject: message should be rejected
42
43 due to the server response (above)
44 .
45 quit
46 ****
47 #
48 #
49 #
50 server PORT_S
51 <SCAN FILE
52 *sleep 3
53 ****
54 #
55 #
56 #
57 exim -odi -bs -DOPT="/tmo=2s"
58 ehlo test.ex
59 mail from:<>
60 rcpt to:<userx@test.ex>
61 data
62 Date: Fri, 17 Dec 2004 14:35:01 +0100
63 Subject: message should be deferred due to timeout
64
65 .
66 quit
67 ****
68 #
69 #
70 #
71 server PORT_S
72 <SCAN FILE
73 *sleep 3
74 ****
75 #
76 #
77 #
78 exim -odi -bs -DOPT="/tmo=2s/defer_ok"
79 ehlo test.ex
80 mail from:<>
81 rcpt to:<userx@test.ex>
82 data
83 Date: Fri, 17 Dec 2004 14:35:01 +0100
84 Subject: message should be accepted despite timeout
85
86 .
87 quit
88 ****