分类: LINUX
2015-12-16 09:07:21
Rough notes on how to setup clamav-milter with for malware scanning with . Malware is a general term encompassing viruses, trojan horses, worms: software that may damage or render insecure computers and networks.
These notes reference clamav 0.65 (with references to configuration filename changes introduced in 0.80) and Sendmail 8.12.10 compiled from source. Only general setup notes are provided, as I currently run .
The following image shows an overview of the three daemons involved (sendmail, clamav-milter, and clamd), the connecting socket files /var/run/clamav-milter.sock and/var/run/clamav.sock between the daemons, along the configuration files for the daemons and log paths to syslogd. The clamd daemon should be started before clamav-milter, and finallysendmail, as clamd and clamav-milter create the socket files used for communication.