1 # content scan interface: clamav
3 # SCAN command interface, on a unix socket, only. No ExtendedDetectionInfo.
5 server DIR/eximdir/clam_sock
7 >LF>scanned_file_name: OK
16 rcpt to:<userx@test.ex>
18 Date: Fri, 17 Dec 2004 14:35:01 +0100
19 Subject: message should be accepted
27 server DIR/eximdir/clam_sock
29 >LF>scanned_file_name: 666 ERROR
38 rcpt to:<userx@test.ex>
40 Date: Fri, 17 Dec 2004 14:35:01 +0100
41 Subject: defer this one due to scanner error
49 server DIR/eximdir/clam_sock
51 >LF>scanned_file_name: VNAME FOUND
57 exim -odi -bs -DOPT=/defer_ok
60 rcpt to:<userx@test.ex>
62 Date: Fri, 17 Dec 2004 14:35:01 +0100
63 Subject: message should be rejected
71 server DIR/eximdir/clam_sock
77 exim -odi -bs -DOPT="/ tmo=2s"
80 rcpt to:<userx@test.ex>
82 Date: Fri, 17 Dec 2004 14:35:01 +0100
83 Subject: defer this one due to timeout
91 server DIR/eximdir/clam_sock
97 exim -odi -bs -DOPT="/ tmo=2s / defer_ok"
100 rcpt to:<userx@test.ex>
102 Date: Fri, 17 Dec 2004 14:35:01 +0100
103 Subject: accept this one despite timeout
110 # Need to additionally test the timeout / defer_ok case