MailScanner Installation Guide — Perl ClamAV Module

  1. Download and install ClamAV from as usual.
  2. The default locations are under /usr/local/{bin,man,share}.
  3. Do the following:
    perl -MCPAN -e shell
    install Parse::RecDescent
    install Inline
    install Mail::ClamAV
  4. In MailScanner.conf, set 'Virus Scanners = clamavmodule'.
  5. In MailScanner.conf, check the setting of 'Monitors for ClamAV Updates' to ensure it matches the location of your ClamAV virus database files.

Julian Field