parameter has to be defined as follows:
command = /opt/eset/nod32/bin/nod32mda -oMr virus-scanned $local_part@$domain \
-- --user $local_part
4.1.2.5. Setting NOD32MDA in MTA Exim version 4
Let's look inside the exim configuration file '/etc/exim4/exim4.conf' to become familiar with its content. It is
typically compound from TRANSPORTS CONFIGURATION section and ROUTERS CONFIGURATION section. Usually there is
a ROUTERS CONFIGURATION entry 'localuser' responsible for e-mail messages local delivery. In order to configure exim to
use NOD32LMS/NOD32BMS you have to define special ROUTERS CONFIGURATION entry in a following way:
# ROUTER CONFIGURATION
nod32_router:
driver = accept
domains = +local_domains
condition = "${if eq {$received_protocol}{virus-scanned} {0}{1}}"
transport = nod32_transport
verify = false
Note that above entry has to be placed as a first in the ROUTERS CONFIGURATION section. You have also define
an appropriate TRANSPORTERS CONFIGURATION entry responsible for e-mail messages delivery to nod32mda agent.
Content of the entry is as follows:
# TRANSPORTS CONFIGURATION
nod32_transport:
driver = pipe
command = /usr/bin/nod32mda -oMr virus-scanned $local_part@$domain
user = mailnull
group = mail
Note that in RedHat Ready and/or Novell (SuSE) Ready variation of NOD32 for Linux Mail Server the absolute path to
nod32mda module is different, so the definition of TRANSPORTS CONFIGURATION entry in this case is as follows:
# TRANSPORTS CONFIGURATION
nod32_transport:
driver = pipe
command = /opt/eset/nod32/bin/nod32mda -oMr virus-scanned $local_part@$domain
user = mailnull
group = mail
Be sure that the 'user' (usually 'mailnull') is the value of ' e xim_user' or pick a name from the list 'trusted_users' for
this parameter. Also be sure that the option ' q ualify_domain' is undefined or set to your fully qualified domain name.
With the above settings you have ensured that all the e-mail messages originally sent to local domain user will
be primarily catched by nod32mda module. Yet there remains to provide that all messages processed by nod32mda
will be sent to the appropriate mailbox. To do so just modify parameter ‚mda_path' within section [mda] of main
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:
chapter 4 / Integration with E-mail Messaging System
1
Need help?
Do you have a question about the NOD32 ANTIVIRUS - FOR LINUX-BSD MAIL SERVER and is the answer not in the manual?