35
#!/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
Содержание MAIL SECURITY
Страница 1: ...ESET Mail Security Installation Manual and User Guide we protect digital worlds...
Страница 3: ...Chapter 1 Introduction...
Страница 5: ...Chapter 2 Terminology and abbreviations...
Страница 8: ......
Страница 9: ...Chapter 3 Installation...
Страница 11: ...Chapter 4 Architecture Overview...
Страница 14: ......
Страница 15: ...Chapter 5 Integration with Email Messaging System...
Страница 21: ...Chapter 6 Important ESET Mail Security mechanisms...
Страница 27: ...Chapter 7 Updating ESET Mail Security...
Страница 29: ...Chapter 8 Let us know...
Страница 31: ...Appendix A ESETS setup and configuration...
Страница 40: ......
Страница 41: ...Appendix B PHP License...