EasyManua.ls Logo

ESET MAIL SECURITY - Setting ESETS for MTA Sendmail

ESET MAIL SECURITY
42 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
33
The last thing is to make Postx accept mail on port 2525 and continue processing it. Add this
entry to Postx master.cf le:
localhost:2525 inet n - n - - smtpd
-ocontent_lter=
-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
just replace yourdomain.com with your hostname after rst dot. Make sure all but the rst line
is indented. For reread of newly created conguration, reload Postx.
Note: In case you have SELinux enabled, which prevents Postfix to listen on 2525 (e.g. Fedora Core >=
5), run this command: semanage -a -t smtp_port_t -p tcp 2525
A.2. Setting ESETS for MTA Sendmail
A.2.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 Sendmail’s original MDA.
Note: On FreeBSD, Sendmail may be communicating with MDA using LMTP. However, esets_mda does
not understand LMTP. So 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 le sendmail.cf in section Mlocal: parameters ‘P
(executable) and A (its name and arguments).
First set‘mda_path in [mda] section of ESETS conguration le to the currently used MDA
executable (Sendmail’s ‘P parameter) and restart ESETS daemon.
Then add to le sendmail.mc (or `hostname`.mc on FreeBSD and Solaris) before all MAILER
denitions these lines:
dene(`LOCAL_MAILER_PATH’,`@BINDIR@/esets_mda’)dnl
dene(`LOCAL_MAILER_ARGS’,
`esets_mda original_arguments -- --sender $f --recipient $u@$j’)dnl
whereoriginal_argumentsisSendmail’sAparameterwithoutthename(rstword).
In the last, recreate sendmail.cf and restart Sendmail.
Appendix A. ESETS setup process description

Table of Contents

Related product manuals