update to pre-4.87 master
[exim.git] / test / scripts / 4000-scanning / 4006
1 # content scan interface: avast
2 #
3 server DIR/eximdir/avast_sock
4 >LF>220 ready
5 <FLAGS -fullfiles
6 >LF>210 FLAGS DATA
7 >LF>200 FLAGS OK
8 <SCAN
9 >LF>210 SCAN DATA
10 >LF>blah        [+]
11 >LF>200 SCAN OK
12 <QUIT
13 <*eof
14 ****
15 #
16 #
17 #
18 exim -odi -bs -DOPTION="FLAGS -fullfiles" -DINSERT=
19 ehlo test.ex
20 mail from:<>
21 rcpt to:<userx@test.ex>
22 data
23 Date: Fri, 17 Dec 2004 14:35:01 +0100
24 Subject: message should be accepted
25
26 .
27 quit
28 ****
29 #
30 #
31 #
32 server DIR/eximdir/avast_sock
33 >LF>220 ready
34 <SCAN
35 >LF>210 SCAN DATA
36 >LF>blah        [E]
37 >LF>200 SCAN OK
38 <QUIT
39 <*eof
40 ****
41 #
42 #
43 #
44 exim -odi -bs -DOPTION= -DINSERT=
45 ehlo test.ex
46 mail from:<>
47 rcpt to:<userx@test.ex>
48 data
49 Date: Fri, 17 Dec 2004 14:35:01 +0100
50 Subject: defer this one, the scanner had an error
51
52 .
53 quit
54 ****
55 #
56 #
57 #
58 server DIR/eximdir/avast_sock
59 >LF>220 ready
60 <SCAN
61 >LF>210 SCAN DATA
62 >LF>b\\ l\\ a\\ h       [L]9.9  9 VNAME
63 >LF>200 SCAN OK
64 <QUIT
65 <*eof
66 ****
67 #
68 #
69 #
70 exim -odi -bs -DOPTION= -DINSERT="/defer_ok"
71 ehlo test.ex
72 mail from:<>
73 rcpt to:<userx@test.ex>
74 data
75 Date: Fri, 17 Dec 2004 14:35:01 +0100
76 Subject: message should be rejected
77
78 .
79 quit
80 ****
81 #
82 #
83 #
84 server DIR/eximdir/avast_sock
85 *sleep 3
86 ****
87 #
88 #
89 #
90 exim -odi -bs -DOPTION= -DINSERT="/tmo=2s"
91 ehlo test.ex
92 mail from:<>
93 rcpt to:<userx@test.ex>
94 data
95 Date: Fri, 17 Dec 2004 14:35:01 +0100
96 Subject: message should be tmp-rejected due to timeout
97
98 .
99 quit
100 ****
101 #
102 #
103 #
104 server DIR/eximdir/avast_sock
105 *sleep 3
106 ****
107 #
108 #
109 #
110 exim -odi -bs -DOPTION= -DINSERT="/tmo=2s/defer_ok"
111 ehlo test.ex
112 mail from:<>
113 rcpt to:<userx@test.ex>
114 data
115 Date: Fri, 17 Dec 2004 14:35:01 +0100
116 Subject: message should be accepted despite timeout
117
118 .
119 quit
120 ****