Installation manual
32
ESET Mail Security
A.1. Setting ESETS for MTA Postx
A.1.1. Inbound e-mail messages scanning
Warning: This installation is not compatible with SELinux. Either disable SELinux or follow
the next section.
The goal of this installation is to insert esets_mda before Postx original MDA. Used MDA
(witharguments)issetinthePostxparameter‘mailbox_command’.
Note: If the value is empty, Postfix is delivering mail by himself. You have to install and configure a real
MDA (e.g. procmail) and use that first for ‘mailbox_command’ including arguments (e.g. /usr/
bin/procmail -d “$USER”). Reload Postfix and make sure it is delivering mail according your needs.
Now, you can continue with ESETS installation.
Take the full path to the currentPostx MDA and set the parameter‘mda_path’ in [mda]
section of ESETS conguration le to this value, in our sample case:
mda_path = ”/usr/bin/procmail”
and restart ESETS daemon. Then replace the path to current Postx MDA with esets_mda
path and add -- --recipient=”$RECIPIENT” --sender=”$SENDER” to the arguments, in our sample
case:
mailbox_command = @BINDIR@/esets_mda -d ”$USER”
-- --recipient=”$RECIPIENT” --sender=”$SENDER”
For reread of newly created conguration, reload Postx.
A.1.2. Bi-directional e-mail messages scanning
The goal of this installation is to divert all mails from Postx to esets_smtp and get them back.
In the [smtp] section of ESETS conguration le set these parameters:
agent_enabled = yes
listen_addr = ”localhost”
listen_port = 2526
server_addr = ”localhost”
server_port = 2525
and restart ESETS daemon. It will start esets_smtp and make it scan all SMTP communication
acceptedon‘listen_addr:listen_port’andforwarditto‘server_addr:server_port’.Todivertallmail
to esets_smtp set in Postx:
content_lter=smtp:[127.0.0.1]:2526
Note: In case the ‘content_filter’ parameter already has a value, don’t follow these instructions.
Instead, you have to insert esets_smtp (or other ESETS mail scanning module) before or after your
current ‘content_filter’.