Content Filtering In Mta Qmail - ESET NOD32 ANTIVIRUS - FOR LINUX-BSD MAIL SERVER Installation Manual

For linux/bsd mail server
Table of Contents

Advertisement

NOD32 configuration file. In case the absolute path to the exim is '/usr/sbin/exim' the parameter 'mda_path' will be
as follows:
mda_path = "/usr/sbin/exim"
To reread the newly created NOD32 configuration, enter the following command:
/etc/init.d/nod32d reload
To accomplish the whole procedure, one has to restart the MTA Exim.
Note that our product provides you with the option to define NOD32 scanner parameters individually for recipient
users (resp. recipient domains). In this case it is necessary to pass the information about the recipient user to nod32mda
module using its command line interface. Note that in case you would like to pass any command line parameter to
the whole nod32mda agent it is necessary to prepend the parameter by sentence '--' , otherwise the parameter will
be assumed to be passed to ‚exim' specified by the 'mda_path' parameter. Thus, for instance to pass command line
option --user to nod32mda agent, the parameter 'command' defined in TRANSPORTS CONFIGURATION entry must by
as follows:
command = /usr/bin/nod32mda -oMr virus-scanned $local_part@$domain \
-- --user $local_part
resp. in case of RedHat Ready and Novell (SuSE) Ready variation of this anti-virus product used, the ' c ommand'
parameter has to be defined as follows:
command = /opt/eset/nod32/bin/nod32mda -oMr virus-scanned $local_part@$domain \
-- --user $local_part

4.3.5. Content filtering in MTA Qmail

Nod32pipe can serve as a content-filter for Qmail. However, you need to download and compile the qmail-qfilter
program, version 2.0 or newer. Following instructions do not require you to use the QMAILQUEUE patch. We assume your
qmail is installed in '/var/qmail' . First create the script '/var/qmail/bin/qmail-nod32pipe' with the following content
and run chmod a+x on it:
#!/bin/sh
export QQF_QMAILQUEUE=/var/qmail/bin/qmail-queue.nod32save
exec qmail-qfilter /usr/bin/nod32pipe
Note that in RedHat Ready and/or Novell (SuSE) Ready variation of this anti-virus product the absolute path of
nod32pipe module is different, so in this case an appropriate script content will be as follows:
#!/bin/sh
export QQF_QMAILQUEUE=/var/qmail/bin/qmail-queue.nod32save
exec qmail-qfilter /opt/eset/nod32/bin/nod32pipe
Next, enter the following commands:
mv /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.nod32save
ln -s /var/qmail/bin/qmail-nod32pipe /var/qmail/bin/qmail-queue
In this configuration, in case of infection or temporary error, nod32pipe will automatically (based on present
environment variables) use QMail's recognized exit codes (31, 71 or 99, see qmail-queue(8) and qmail-qfilter(1) manual
pages for details). It will also ask nod32d to use the user specific configuration based on the first envelope recipient.

NOD32 for Linux/BSD Mail Server

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NOD32 ANTIVIRUS - FOR LINUX-BSD MAIL SERVER and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Nod32 antivirus system

Table of Contents