recipient user to nod32mda module using its command line interface. Note that in case you would like to pass any
command line parameter to the whole nod32mda agent it is necessary to prepend the parameter by sentence ‚--' ,
otherwise the parameter will be assumed to be passed to original MDA specified by the 'mda_path' parameter. Thus
for instance to pass command line option --user to nod32mda agent the 'mailbox_command' option has to be defined
in the following way.
postconf -e 'mailbox_command = nod32mda -d "$USER" "$EXTENSION" \
-- --user "$USER"'
With this setting a special section [user], if defined in NOD32 configuration file, will be used by main NOD32 daemon
for scanning.
4.1.2.3. Setting NOD32MDA in Qmail MTA
The delivery options in the Qmail program are configured via the command line parameters at the time of program
execution or by using short scripts where the appropriate command line statements are stored. In the following text we
assume that the Qmail is installed in a '/var/qmail' directory and there is a QMail's starting script 'rc' within this directory
that is always executed at the start-up of Qmail by running the standard statement
qmailctl start
In a simplest case the script '/var/qmail/rc' is of the following content:
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Maildir/ splogger qmail
Note the first qmail-start argument instructing qmail where to deliver e-mail messages to. This time it is a special
directory structure located in ' . /Maildir/' within the local user home directory. However, generally there are also other
possible variants of the argument. For instance - ./Mailbox - that instructs qmail to deliver e-mail messages to the
MAILBOX file located at the local user home directory or - '|preline procmail' - to use the 'procmail' MDA as a local
delivery agent, etc. See dot-qmail(5) manual page to get detailed information on this topic.
In order to instruct qmail to use nod32mda module in the message delivery process, you have to prepend the first
command line argument of qmail-start with the absolute path of nod32mda module, i.e. the starting script 'var/qmail/
rc' will contain:
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|/usr/bin/nod32mda './Maildir/ splogger qmail
Note that the nod32mda module absolute path is different in the RedHat Ready and/or Novell (SuSE) Ready variation
of NOD32 for Linux Mail Server, so the starting script 'var/qmail/rc' in that case will appear to be of the form
#!/bin/sh
exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start '|/opt/eset/nod32/bin/nod32mda './Maildir/ splogger qmail
Note that there is space before the second character ‚ and no space after it. Keep also in mind that the argument -
./Maildir/ - is used this time only as an example and in your case you must prepend argument used in your original ‚/
var/qmail/rc' script.
With above modifications you have ensured that all the e-mail messages originally sent to MDA will be catched by
1
NOD32 for Linux/BSD Mail Server
Need help?
Do you have a question about the NOD32 ANTIVIRUS - FOR LINUX-BSD MAIL SERVER and is the answer not in the manual?