Bi-Directional Email Messages Scanning; Inbound Email Messages Scanning; Setting Esets For Mta Exim Version 3 - ESET MAIL SECURITY LINUX Installation Manual

Hide thumbs Also See for MAIL SECURITY LINUX:
Table of Contents

Advertisement

#!/bin/sh
A="$1"; shift
exec qmail-start.orig "|@BINDIR@/esets_mda '$A'"' \
-- --sender="$SENDER" --recipient="$RECIPIENT"' "$@"
This will start Qmail using esets_mda for local deliveries. However, the original delivery
specification is passed to qmail-local through esets_mda. Note that in this configuration esets_
mda will use Qmail's recognized exit codes (see the qmail-command (8) man page). Lastly,
replace qmail-start using commands:
mv /var/qmail/bin/qmail-start /var/qmail/bin/qmail-start.orig
ln -s qmail-start.esets /var/qmail/bin/qmail-start
Restart Qmail.
A.3.2. Bi-directional email messages scanning
The objective of this installation is to insert esets_mda before qmail-queue, which queues all
mails before delivery. Assuming Qmail is installed in the /var/qmail directory, in the [mda] section
of the ESETS configuration file, set the following parameter:
mda_path = "/var/qmail/bin/qmail-queue.esets"
Restart the ESETS daemon. Lastly, replace qmail-queue using these commands:
mv /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.esets
ln -s @BINDIR@/esets_mda /var/qmail/bin/qmail-queue
Restarting Qmail is unnecessary. All messages enqueued from now will be scanned by ESETS.
Note that in this configuration esets_mda will use qmail-queue's exit codes [see the qmail-
queue (8) man page].
A.4. Setting ESETS for MTA Exim version 3
A.4.1. Inbound email messages scanning
The objective of this installation is to create an Exim transport from esets_mda for local users.
In the [mda] section of the ESETS configuration file set the following parameter:
mda_path = "/usr/sbin/exim"
In the above, /usr/sbin/exim is the full path to Exim binary. Restart the ESETS daemon. Next,
add the following transport (on any line) to the list of Exim transports:
esets_transport:
driver = pipe
command = @BINDIR@/esets_mda -oi -oMr esets-scanned $local_part@$domain \
-- --sender=$sender_address --recipient=$local_part@$domain
user = mail
In the above example, 'mail' is one of Exim's 'trusted_users' . Now add the following director to
the top of the list of Exim directors:
Appendix A. ESETS setup process description
35

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MAIL SECURITY LINUX and is the answer not in the manual?

Questions and answers

Table of Contents