Installation manual
13
Figure 5-3. Rule Settings.
5.5.2 Scanning email messages using AMaViS
AMaViS (A Mail Virus Scanner) is a tool that interfaces your MTA with several antivirus scanners. It supports various MTAs
and comes in three branches:
a ma vis
,
a ma visd
and
a ma visd-n ew
. Only the amavisd-new branch is supported. AMaViS cooperates
with ESET Mail Security by using
esets_cli
. Before explaining the AMaViS configurations, the impact of the ESET Mail Security
functionality method is described. AMaViS does not allow modification of scanned email messages and denies ESETS access to
clean or delete infected email attachments. As a result, the ESETS footnote with log and status dependent header fields will not be
written into the email message. Also, AMaViS does not provide mail sender/recipient information. Thus, user specific
configurations are unavailable and advanced mail handling features (accept, defer, discard, reject) are limited for
esets_cli
.
Lastly, AMaViS only scans files, it cannot use the ESETS anti-spam engine.
Taking into account these drawbacks, content filtering using AMaViS is recommended only if the system administrator does
not require the features discussed above.
amavisd-new configuration
To install the product with
a ma visd-n ew
, unpack and install the source amavisd-new-2.x.y.tgz in your installation directory.
Next, configure the product with the newly installed
a ma visd-n ew
. To do this, delete the clause for ‘ESET Software ESETS’ and then
replace the clause for ‘ESET Software ESETS - Client/Server Version’ in the file ‘amavisd.conf’ with the following one:
### http://www.eset.com/
['ESET Software ESETS Command Line Interface',
'@BINDIR@/esets_cli', '--subdir {}',
[0], [1, 2, 3], qr/virus="([^"]+)"/ ],
You may need to install additional Perl modules Archive-Tar, Archive-Zip, BerkeleyDB, Compress-Zlib, Convert-TNEF, Convert-
UUlib, IO-stringy, MailTools, MIME-Base64, MIME-tools, Net-Server and Unix-Syslog from:
www.cpan.org/modules
The procedure to install is as follows:
perl Makefile.PL; make; make install
After configuration, please follow the recommendations for configuring
a ma visd-n ew
in the README.mta located in the
Amavisd-new directory according your mail server.