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