Installation manual

19
parameter has to be dened 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 conguration le ’/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 congure exim to
use NOD32LMS/NOD32BMS you have to dene 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 rst in the ROUTERS CONFIGURATION section. You have also dene
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 dierent, so the denition 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 exim_user’ or pick a name from the list ’trusted_users’ for
this parameter. Also be sure that the option ’qualify_domain’ is undened or set to your fully qualied 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 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:
chapter 4 / Integration with E-mail Messaging System