AMaViS is a mail virus scanner. It interfaces Exim with SpamAssassin and FSAV.
Additional Resources:
Note: This chapter only installs AMaViS. We will configure Exim, the MTA, to use AMaViS as a transport in a subsequent chapter.
Note: It would be preferable to use amavisd, but as of this writing the amavisd-new-milter package is broken.
# apt-get update
# apt-get install arj cpio lha lzop nomarch unrar zoo
[screenshot]
# apt-get install --target-release testing amavis-ng
The amavis-ng package depends on the libnet-perl package, which will ask several questions. Accept the defaults for all libnet-perl questions:
The file reads as follows:
[amavis.conf]
# zcat /usr/share/doc/spamassassin/sample-nonspam.txt.gz | amavis root@bfree.on.ca dajhorn@bfree.on.ca
[screenshot]
The first argument to amavis is the sender, and all subsequent arguments are recipients.
Note: Perl may print a deprecation warning. This is safe to ignore.
AMaViS is working properly if this line exists in the message headers:
(This is the 7th line in the screenshot.)
Note: The actual file name will be different on your computer. Instead of reading the message with less, you can download it with your favorite mail reader.
Note: AMaViS events are be recorded in the /var/log/mail.log file.
# less /home/BFREE.ON.CA/dajhorn/Maildir/new/1060883164.718.vmwoody
[screenshot]
X-Scanned-By: AMaViS-ng