To install ClamAV on your server, simply SSH to your VPS,
su to root and run the following command at the prompt:
# vinstall clamav
During the vinstall, you will be prompted to configure ClamAV's scanning behavior (either to automatically scan incoming mail or
not), and where to quarantine infected files. We recomend selecting the default for both these options. After the install
completes, tcsh users may need to run rehash to load the ClamAV program paths into their PATH and MANPATH.
If you don't already have procmail installed on your server, the ClamAV install will install it and set it up as your LDA. If you
already have procmail installed and have your own recipies in use, you should check your /usr/local/etc/procmailrc to see that
the ClamAV recipies get put where you need them to be (depending on how you are filtering messages, you may want the ClamAV recipies
to be at the beginning of your file).
When ClamAV is installed, a crontab entry is added to the system crontab file (/etc/crontab) to update your virus
database twice daily using the freshclam program.