execqmail-start.orig”|@BINDIR@/esets_mda‘$A’”’\
-- --sender=”$SENDER” --recipient=”$RECIPIENT”’ “$@”
which will start Qmail using esets_mda for local deliveries. However, the original delivery
specication is passed to qmail-local through esets_mda. Note that in this conguration esets_
mda will use Qmail’s recognized exit codes (see qmail-command(8)). 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
and restart Qmail.
A.3.2. Bi-directional e-mail messages scanning
The goal of this installation is to insert esets_mda before qmail-queue, which queues all
mails before delivery. Let’s assume Qmail is installed in the /var/qmail directory. In the [mda]
section of ESETS conguration le set this parameter:
mda_path = ”/var/qmail/bin/qmail-queue.esets”
and restart ESETS daemon. Lastly, replace qmail-queue using commands:
mv /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.esets
ln -s @BINDIR@/esets_mda /var/qmail/bin/qmail-queue
No Qmail restarting is necessary. All messages enqueued from now will be scanned by
ESETS. Note that in this conguration esets_mda will use qmail-queue’s exit codes (see qmail-
queue(8)).
A.4. Setting ESETS for MTA Exim version 3
A.4.1. Inbound e-mail messages scanning
The goal of this installation is to create an Exim transport from esets_mda for local users. In
the [mda] section of ESETS conguration le set this parameter:
mda_path = ”/usr/sbin/exim”
where /usr/sbin/exim is the full path to Exim binary. Then restart ESETS daemon. Next, add this
transport (at whatever place) to the list of Exim transports:
esets_transport:
driver = pipe
command = @BINDIR@/esets_mda-oi-oMresets-scanned$local_part@$domain\
-- --sender=$sender_address --recipient=$local_part@$domain
user = mail
wheremailisoneofExim’s‘trusted_users’.ThenaddthisdirectorasrsttothelistofExim
directors:
Appendix A. ESETS setup process description