ESET North America Server NOD32 사용자 설명서

다운로드
페이지 50
Chapter 5. NOD32LMS basic configuration
link cancellation may occur and one has always, after the MDA software upgrade, to repeat the
whole procedure described above.
5.2.2. Setting of NOD32MDA (in MTA) as MDA
This section contains a more rigorous approach to provide scanning of inbound messages than
the one described in the previous section. Even if the approach described here requires modi-
fication of the MTA configuration, we recommend it due to the fact that it does not bring the
potential problems, described at the end of the previous section, to the system.
Note: Some MTA modules may be configured to not need an MDA component to deliver e-
mails. In such (very rare) cases, it is necessary to configure the MTA to use any, by NOD32LMS
supported, external MDA (for instance procmail or maildrop).
5.2.2.1. Setting Sendmail MTA
An MTA Sendmail stores all its configurations in one file /etc/mail/sendmail.cf (in older op-
erating systems it can be stored in /etc/sendmail.cf). The procedure described here will there-
fore be done only with this one file and of course with the main NOD32LMS configuration file
(/etc/nod32/nod32.cfg) .
First one has to grab information on the MDA used by Sendmail. This can be found in the Send-
mail configuration file (/etc/mail/sendmail.cf) in the section called ’Local and Program Mailer
specification’ at the parameter ’P’ (in the sentence starting with word ’Mlocal’). Yet, before per-
forming any changes to the Sendmail configuration file, please, make a back-up of this file (for
example with the name sendmail.cf.orig). Now let’s return to the description of the sendmail.cf
parameters. The parameter ’P’ represents the full path to the MDA used. In order to involve
’nod32mda’ module into the message processing, one has to replace this path by the appro-
priate ’nod32mda’ module path (i.e. /usr/bin/nod32mda) . At the same time the appropriate
change has to be done for parameter ’A’ (located at the same sentence of Sendmail configura-
tion file). Note that the ’A’ parameter contains the file name of the original MDA component
followed by some switches. These switches represent macros used by Sendmail when process-
ing a message. Therefore none of the switches may be changed when modifying the name of the
original MDA component at the parameter ’A’. For instance, if the original MDA component
path is /usr/bin/procmail, the appropriate sentence in the Sendmail configuration file can look
like this.
Mlocal,
P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPhnu9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=procmail -t -Y -a $h -d $u
After the modifications have been performed, the appropriate sentence will look like this.
Mlocal,
P=/usr/bin/nod32mda, F=lsDFMAw5:/|@qSPhnu9,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=nod32mda -t -Y -a $h -d $u
18