Installation manual

26
NOD32 conguration le. 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 conguration, 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 dene 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‘ specied by the ‘mda_path‘ parameter. Thus, for instance to pass command line
option --user to nod32mda agent, the parameter ‘command‘ dened 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 command’
parameter has to be dened as follows:
command=/opt/eset/nod32/bin/nod32mda-oMrvirus-scanned$local_part@$domain\
----user$local_part
4.3.5. Content ltering in MTA Qmail
Nod32pipe can serve as a content-lter for Qmail. However, you need to download and compile the qmail-qlter
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-qlter/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 dierent, 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-qlter/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 conguration, 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-qlter(1) manual
pages for details). It will also ask nod32d to use the user specic conguration based on the rst envelope recipient.
NOD32 for Linux/BSD Mail Server