Installation manual

25
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.4. Content ltering in MTA Exim 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. In order to congure exim
to use our anti-virus as a content lter you have to dene special ROUTERS CONFIGURATION entry in a following way:
#ROUTERCONFIGURATION
nod32_router:
driver = accept
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 this anti-virus product 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
Make sure that the user‘ (usually mailnull‘) is the value of exim_user’ or pick a name fromthe 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. Still 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
chapter 4 / Integration with E-mail Messaging System