1 # content scan interface: avast
2 ### clean | multiline response
3 server DIR/eximdir/avast_sock
21 exim -odi -bs -DOPTION="FLAGS -fullfiles" -DINSERT=
24 rcpt to:<userx@test.ex>
26 Date: Fri, 17 Dec 2004 14:35:01 +0100
27 Subject: message should be accepted
34 ### scanner tmpfail -> defer
35 server DIR/eximdir/avast_sock
39 >LF>/bin/error [E]0.0 Error 13 Permission\\ denied
40 >LF>451 SCAN Engine error 13 Permission denied
47 exim -odi -bs -DOPTION= -DINSERT=
50 rcpt to:<userx@test.ex>
52 Date: Fri, 17 Dec 2004 14:35:01 +0100
53 Subject: defer this one, the scanner had an error
60 # clean and infected -> reject
61 server DIR/eximdir/avast_sock
66 >LF>v\\ i\\ a\\ r\\ u\\ s [L]9.0 0 This\\ is\\ not\\ even\\ an\\ EICAR\\ test\\ virus.
74 exim -odi -bs -DOPTION= -DINSERT="/defer_ok"
77 rcpt to:<userx@test.ex>
79 Date: Fri, 17 Dec 2004 14:35:01 +0100
80 Subject: message should be rejected
87 # clean, error, infected -> reject
88 server DIR/eximdir/avast_sock
93 >LF>/bin/error [E]0.0 Error 42110 The\\ file\\ is\\ a\\ decompression\\ bomb
94 >LF>v\\ i\\ a\\ r\\ u\\ s [L]9.0 0 This\\ is\\ not\\ even\\ an\\ EICAR\\ test\\ virus.
102 exim -odi -bs -DOPTION= -DINSERT="/defer_ok"
105 rcpt to:<userx@test.ex>
107 Date: Fri, 17 Dec 2004 14:35:01 +0100
108 Subject: message should be rejected