Server component Clamav
From Kolab wiki
Contents |
[edit]
Function
ClamAV provides virus scanning capabilities for the Kolab server.
A GPL virus scanner featuring:
- scanning into multiple archives (such as .zip and .tar.gz)
- mutated Aho-Corasic algorithm (very fast scanning)
- multi-threading, autodetecting the number of CPUs
- POSIX compliance.
[edit]
Patches
There are no specific patches for the clamAV service necessary for Kolab.
[edit]
Configuration
Defaults in Kolab Server 2.2:
- Template: /kolab/etc/kolab/templates/clamd.conf.template and /kolab/etc/kolab/templates/freshclam.conf.template
- Configuration file: /kolab/etc/amavisd/clamd.conf and /kolab/etc/amavisd/freshclam.conf
- Logfile: /kolab/var/amavisd/clamd.log
- ClamAV-Start commands: /kolab/bin/openpkg rc clamav {start|stop|status|restart}
- Freshclam-Update commands: /kolab/bin/freshclam
Note: The configuration for clamAV is done in the amavisd-new configuration file.
Run /kolab/bin/freshclam to update your virus pattern db.
[edit]
How Tos
- Upgrading Clamav (OpenPKG)
[edit]
Platform specific notes
[edit]
OpenPKG
[edit]
Upgrading
Instructions on upgrading clamav in case the package becomes outdated:
[edit]
Gentoo
[edit]
Use flags
- crypt
- will include dev-libs/gmp and freshclam will support digital signatures (removes corresponding error messages in the log file). Not necessary but can be activated.
- mailwrapper
- You can activate it if you plan to use several MTAs on the machine. If you only install Kolab it wont be necessary.
- milter
- not necessary
[edit]
