6.2. User Specic Conguration
User Specic Conguration mechanism is implemented in the product in order to provide
administrator with enhanced conguration functionality. It allows to dene ESETS anti-virus
scanner parameters selectively for client/server identication.
Please note that the detailed description of this functionality can be found in esets.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 esets_smtp module as a content lter for MTA Postx. The module is subjected
to conguration section [smtp] in ESETS conguration le. The section is as follows:
[smtp]
agent_enabled = yes
listen_addr = ”localhost”
listen_port = 2526
server_addr = ”localhost”
server_port = 2525
action_av = ”scan”
Inordertoprovideindividualparameterssettingonehastodene‘user_cong’parameter
with the path to the special conguration le where the individual setting will be stored. In the
nextexamplewecreatereferencetothespecialcongurationle‘esets_smtp_spec.cfg’located
within the ESETS conguration directory.
[smtp]
agent_enabled = yes
listen_addr = ”localhost”
listen_port = 2526
server_addr = ”localhost”
server_port = 2525
action_av = ”scan”
user_cong=”esets_smtp_spec.cfg”
Once special conguration le referenced from within [smtp] section we have to create this
le in the ESETS conguration directory and provide it with an appropriate individual settings
[rcptuser@rcptdomain.com]
action_av = ”reject”
Note that the section header name of the special section contains identication of the
recipient 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 to
rcptuser@rcptdomain.com that will be rejected without scanning.
chapter 6 Important ESET Mail Security mechanisms