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
112 server -i 2 DIR/eximdir/clam_sock
114 >LF>scanned_file_name: OK
118 exim -odi -bs -DCONTROL="retry=4s"
121 rcpt to:<userx@test.ex>
123 Date: Fri, 17 Dec 2004 14:35:01 +0100
124 Subject: message should be accepted after a retry