Postfixと共に使用して,ウィルススキャンすることができます.
# tar zxf clamav-0.88.1.tar.gz
# cd clamav-0.88.1 # ./configure --prefix=/usr/local/clamav --disable-dns --disable-zlib-vcheck # FC3 # make # make install上記の設定だと,ClamAV関係のファイルは,/usr/local/clamav以下に置かれます.
LogFile /var/log/clamd.log LogTime PidFile /var/run/clamd.pid DatabaseDirectory /usr/local/clamav/share/clamav LocalSocket /tmp/clamd FixStaleSocket User clamav ScanOLE2 ScanMail ScanArchive |
DatabaseDirectory /usr/local/clamav/share/clamav UpdateLogFile /var/log/freshclam.log PidFile /var/run/freshclam.pid DatabaseOwner clamav DNSDatabaseInfo current.cvd.clamav.net DatabaseMirror database.clamav.net Checks 4 #HTTPProxyServer proxy.hogrhogr.jp # Proxyを使っている場合に指定 #HTTPProxyPort 8080 # Proxyのポート番号 |
# /usr/local/clamav/bin/freshclamを実行することで,更新されます.
# /usr/local/clamav/sbin/clamd -c /usr/local/clamav/etc/clamd.confにて,デーモンを起動させます(後述のSafeSquidで必要).
# tar zxf clamsmtp-1.6.tar.gz
# cd clamsmtp-1.6 # ./configure --prefix=/usr/local/clamsmtp # make # make install
OutAddress: 10026 ClamAddress: /tmp/clamd ScanHeader: X-AV-Checked: ClamAV using ClamSMTP User: clamav |