Testsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie...
[users/jgh/exim.git] / test / scripts / 4000-scanning / 4005
1 # content scan interface: clamav
2 #
3 # SCAN command interface, on a unix socket, only.  No ExtendedDetectionInfo.
4 #
5 server DIR/eximdir/clam_sock
6 <SCAN
7 >LF>scanned_file_name: OK
8 <*eof
9 ****
10 #
11 #
12 #
13 exim -odi -bs
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 DIR/eximdir/clam_sock
28 <SCAN
29 >LF>scanned_file_name: 666 ERROR
30 <*eof
31 ****
32 #
33 #
34 #
35 exim -odi -bs
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: defer this one
42
43 .
44 quit
45 ****
46 #
47 #
48 #
49 server DIR/eximdir/clam_sock
50 <SCAN
51 >LF>scanned_file_name: VNAME FOUND
52 <*eof
53 ****
54 #
55 #
56 #
57 exim -odi -bs
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 rejected
64
65 .
66 quit
67 ****