33
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 n - n - - smtpd
-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
Содержание 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...