# Comment or remove the line below.
Example
-------------------------
Database updated (60082 signatures) from database.clamav.net (IP: 199.239.233.95)
-------------------------
# clamscan -r -l scan.txt .
./FAQ: OK
./etc/Makefile.am: OK
./etc/Makefile.in: OK
./etc/clamd.conf: OK
./etc/freshclam.conf: OK
./etc/Makefile: OK
./BUGS: OK
./NEWS: OK
./TODO: Empty file
./docs/man/sigtool.1: OK
./docs/man/clamscan.1: OK
./docs/man/clamdscan.1: OK
./docs/man/freshclam.1: OK
./docs/man/freshclam.conf.5.in: OK
./docs/man/clamd.conf.5: OK
...
./test/clam.cab: ClamAV-Test-File FOUND
./test/clam.exe: ClamAV-Test-File FOUND
./test/clam.rar: ClamAV-Test-File FOUND
./test/clam.zip: ClamAV-Test-File FOUND
./test/clam.exe.bz2: ClamAV-Test-File FOUND

----------- SCAN SUMMARY -----------
Known viruses: 60082
Engine version: 0.88.2
Scanned directories: 45
Scanned files: 757
Infected files: 5
Data scanned: 13.19 MB
Time: 33.362 sec (0 m 33 s)
-------------------------
# cat scan.txt

--------------------------------------
Scan started: Sun Jun 25 21:43:00 2006

./test/clam.cab: ClamAV-Test-File FOUND
./test/clam.exe: ClamAV-Test-File FOUND
./test/clam.rar: ClamAV-Test-File FOUND
./test/clam.zip: ClamAV-Test-File FOUND
./test/clam.exe.bz2: ClamAV-Test-File FOUND

-- summary --
Known viruses: 60082
Engine version: 0.88.2
Scanned directories: 45
Scanned files: 757
Infected files: 5
Data scanned: 13.19 MB
Time: 33.362 sec (0 m 33 s)
-------------------------
User _clamav
-------------------------
Jun 25 22:29:12 mail clamd[15819]: Daemon started.
Jun 25 22:29:12 mail clamd[15819]: clamd daemon 0.88.2 (OS: freebsd5.4, ARCH: i386, CPU: i386)
Jun 25 22:29:12 mail clamd[15819]: Log file size limited to 1048576 bytes.
Jun 25 22:29:12 mail clamd[15819]: Reading databases from /usr/local/share/clamav
Jun 25 22:29:16 mail clamd[15819]: Protecting against 60082 viruses.
Jun 25 22:29:16 mail clamd[15828]: Unix socket file /tmp/clamd
Jun 25 22:29:16 mail clamd[15828]: Setting connection queue length to 15
Jun 25 22:29:16 mail clamd[15828]: Archive: Archived file size limit set to 10485760 bytes.
Jun 25 22:29:16 mail clamd[15828]: Archive: Recursion level limit set to 8.
Jun 25 22:29:16 mail clamd[15828]: Archive: Files limit set to 1000.
Jun 25 22:29:16 mail clamd[15828]: Archive: Compression ratio limit set to 250.
Jun 25 22:29:16 mail clamd[15828]: Archive support enabled.
Jun 25 22:29:16 mail clamd[15828]: Archive: RAR support disabled.
Jun 25 22:29:16 mail clamd[15828]: Portable Executable support enabled.
Jun 25 22:29:16 mail clamd[15828]: Mail files support enabled.
Jun 25 22:29:16 mail clamd[15828]: OLE2 support enabled.
Jun 25 22:29:16 mail clamd[15828]: HTML support enabled.
Jun 25 22:29:16 mail clamd[15828]: Self checking every 1800 seconds.
-------------------------
# /usr/local/bin/clamdscan -l scan.txt .
/usr/home/andrew/clamav-0.88.2/./test/clam.cab: ClamAV-Test-File FOUND
/usr/home/andrew/clamav-0.88.2/./test/clam.exe: ClamAV-Test-File FOUND
/usr/home/andrew/clamav-0.88.2/./test/clam.zip: ClamAV-Test-File FOUND
/usr/home/andrew/clamav-0.88.2/./test/clam.exe.bz2: ClamAV-Test-File FOUND

----------- SCAN SUMMARY -----------
Infected files: 4
Time: 32.749 sec (0 m 32 s)
-------------------------
Jun 25 22:29:31 freebsd5-vm1 clamd[15828]: /usr/home/andrew/clamav-0.88.2/./test/clam.cab: ClamAV-Test-File FOUND
Jun 25 22:29:31 freebsd5-vm1 clamd[15828]: /usr/home/andrew/clamav-0.88.2/./test/clam.exe: ClamAV-Test-File FOUND
Jun 25 22:29:31 freebsd5-vm1 clamd[15828]: /usr/home/andrew/clamav-0.88.2/./test/clam.zip: ClamAV-Test-File FOUND
Jun 25 22:29:31 freebsd5-vm1 clamd[15828]: /usr/home/andrew/clamav-0.88.2/./test/clam.exe.bz2: ClamAV-Test-File FOUND
-------------------------
# mkdir /var/run/clamav
# chown _clamav:_clamav /var/run/clamav
-------------------------
LocalSocket /var/run/clamav/clamd.sock
-------------------------
INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock, F=,T=S:4m;R:4m')
define(`confINPUT_MAIL_FILTERS', `clmilter')
-------------------------
# /usr/local/sbin/clamav-milter -lo /var/run/clamav/clmilter.sock --external
-------------------------
Jun 26 00:08:03 freebsd5-vm1 sm-mta[27946]: k5Q6831t027946: Milter add: header: X-Virus-Scanned: ClamAV version 0.88.2, clamav-milter version 0.88.2 on freebsd5-vm1.nnc
Jun 26 00:08:03 freebsd5-vm1 sm-mta[27946]: k5Q6831t027946: Milter add: header: X-Virus-Status: Not Scanned
Jun 26 00:08:03 freebsd5-vm1 sm-mta[27946]: k5Q6831t027946: Milter: data, reject=451 4.3.2 Please try again later
