32
5.1. User Specic Conguration
User Specic Conguration mechanism is implemented in the product in order to provide user with enhanced
conguration functionality. It allows to dene NOD32 anti-virus scanner parameters selectively for client/server
identication.
Regarding the NOD32LMS/NOD32BMS the NOD32 anti-virus scanner parameters can be dened individually for rst
recipient and/or sender of the e-mail messages processed.
Please note that the detailed description of this functionality can be found in nod32.cfg(5) manual page and
manual pages referenced there. Thus in this section we will only provide short example of user specic conguration
denition.
Let’s say we use nod32smtp module for the scanning purpose. This module is subjected to the [smtp] conguration
section found within main NOD32 conguration le. The example of the section can be as follows:
[smtp]
agent_enabled = yes
listen_addr = “localhost“
listen_port=2526
server_addr = “localhost“
server_port=2525
action_on_processed = accept
In order to provide individual parameters setting one has to dene ‚user_cong‘ parameter with the path to the
special conguration le where the individual setting will be stored. In the next example we create reference to the
special conguration le ’nod32smtp_spec.cfg’ located within default conguration le directory.
[smtp]
agent_enabled = yes
listen_addr = “localhost“
listen_port=2526
server_addr = “localhost“
server_port=2525
action_on_processed = accept
user_cong=“nod32smtp_spec.cfg“
Note that the parameter ’user_cong’ accepts also absolute path to the specic conguration le.
Once special conguration le referenced from within [smtp] section we have to create this le and provide the le
with an appropriate individual settings.
In the next example we create individual parameter setting of parameter ’action_on_processed’ for recipient
rcptuser@rcptdomain.com and for sender sndruser@sndrdomain.com.
[rcptuser@rcptdomain.com|sndruser@sndrdomain.com]
action_on_processed = reject
Note that the section header name of the special section contains identication of the recipient and sender for
which we have created the individual setting. The section body then contains individual parameters specied for this
identication. Thus with this special conguration all e-mails will be processed, i.e. scanned for inltrations, with
exception of the e-mails sent from sndruser@sndrdomain.comto rcptuser@rcptdomain.comthatwill be rejected without
scanning. Note that this also a good example of how to create black-list.
NOD32 for Linux/BSD Mail Server