Testsuite: cases for malware= interfaces to f-protd, aveserver, fsecure, soophie...
[exim.git] / test / scripts / 4000-scanning / 4003
1 # content scan interface: fsecure
2 #
3 server DIR/eximdir/fsec_sock
4 <CONFIGURE
5 >ignored_response
6 <CONFIGURE
7 >ignored_response
8 <CONFIGURE
9 >ignored_response
10 <CONFIGURE
11 >ignored_response
12 <SCAN
13 >LF>random ignored line
14 >LF>random ignored line 2
15 >LF>OK  Scan ok.
16 *eof
17 ****
18 #
19 #
20 #
21 exim -odi -bs
22 ehlo test.ex
23 mail from:<>
24 rcpt to:<userx@test.ex>
25 data
26 Date: Fri, 17 Dec 2004 14:35:01 +0100
27 Subject: message should be accepted
28
29 .
30 quit
31 ****
32 #
33 #
34 #
35 server DIR/eximdir/fsec_sock
36 <CONFIGURE
37 >ignored_response
38 <CONFIGURE
39 >ignored_response
40 <CONFIGURE
41 >ignored_response
42 <CONFIGURE
43 >ignored_response
44 <SCAN
45 >LF>xxxINFECTED blah    VNAME   blah
46 >LF>OK  Scan ok.
47 *eof
48 ****
49 #
50 #
51 #
52 exim -odi -bs
53 ehlo test.ex
54 mail from:<>
55 rcpt to:<userx@test.ex>
56 data
57 Date: Fri, 17 Dec 2004 14:35:01 +0100
58 Subject: message should be rejected
59
60 .
61 quit
62 ****