Setting Esets For Mta Sendmail - ESET MAIL SECURITY - ANNEXE 209 Installation Manual

Table of Contents

Advertisement

Lastly, set Postfix to accept mail on port 2525 and continue processing it. To do this, add the
following entry to the Postfix master.cf file:
localhost:2525 inet
-o content_filter=
-o myhostname=esets.yourdomain.com
-o local_recipient_maps=
-o relay_recipient_maps=
-o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_helo_restrictions=
-o smtpd_client_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=127.0.0.0/8
Replace yourdomain.com with your hostname. Make sure all but the first line is indented. To
re-read the newly created configuration, reload Postfix.
NOTE: If you have SELinux enabled, it will prevent Postfix from listening on 2525 (e.g. Fedora Core >=
5), In this case, run the following command: semanage -a -t smtp_port_t -p tcp 2525
A.2. Setting ESETS for MTA Sendmail
A.2.1. Inbound email message scanning
Warning: This installation is not compatible with SELinux. Either disable SELinux or proceed
to the next section.
The objective of this installation is to insert esets_mda before Sendmail's original MDA.
NOTE: On FreeBSD, Sendmail may be communicating with MDA using LMTP. However, esets_mda
does not understand LMTP. If you have FEATURE(local_lmtp) in `hostname`.mc, comment it out
now and recreate sendmail.cf.
The currently used MDA can be found in the file sendmail.cf in section Mlocal: parameters 'P'
(executable) and 'A' (its name and arguments).
First, set the 'mda_path' in the [mda] section of the ESETS configuration file to the currently
used MDA executable (Sendmail's 'P' parameter). Then restart the ESETS daemon.
Next, add the lines below to the sendmail.mc file (or `hostname`.mc on FreeBSD and Solaris)
before all MAILER definitions:
define(`LOCAL_MAILER_PATH', `@BINDIR@/esets_mda')dnl
define(`LOCAL_MAILER_ARGS',
`esets_mda original_arguments -- --sender $f --recipient $u@$j')dnl
In the example above, original_arguments is Sendmail's 'A' parameter without the name (first
word).
Lastly, recreate sendmail.cf and restart Sendmail.
Appendix A. ESETS setup process description
n - n - - smtpd
37

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Mail security

Table of Contents