background image

17

The email server receives data communication using SMTP (Simple Mail Transfer Protocol) 

communication. The  received  message  is  transferred  by  MTA  either  to  another  remote  email 

messaging system or is delivered using local MDA into a particular MAILBOX. In most cases, each 

local network user owns a MAILBOX located on the server. Note that it is the responsibility of the 

user’s local MUA to provide the function of downloading and correctly interpreting the message 

at the user’s computer. When retrieving data from MAILBOX, the MUA typically uses POP3 (Post 

Office Protocol) or IMAP (Internet Message Access Protocol) to communicate with the MTA. The 

SMTP protocol is used to send data to the Internet.

The 

ESETS

 operating principle is based on data communication interception and scanning at 

the various phases of its transfer. The interception locations are marked in figure 5-1 by symbols 

S1, S2, S3 and S4.

S1 - Bi-directional email message scanning, such as content filtering in MTA.

S2 - Scanning of inbound email messages, such as messages with a target address which is 

located inside the local domain.

S3 - Scanning of outbound email messages, such as messages bound to a remote Internet 

domain.

S4 - Scanning of email messages being downloaded from POP3/IMAP server.

The  remainder  of  this  chapter  reviews  methods  for  integrating 

ESETS

  with  a  variety  of 

supported messaging systems.

5.1. Bi-directional email message scanning in MTA

Bi-directional email message scanning mode allows the user to scan inbound email messages 

as well as outbound, using the same implementation algorithm. The bi-directional content filter 

method is MTA dependent. ESET Mail Security comes with four content filters that are built for 

the most common MTA programs, such as MTA Sendmail, Postfix, Exim, QMail and ZMailer.

Check that your MTA is properly configured and running. Then, configure ESET Mail Security 

for bi-directional email message scanning by running the following script:

   

/usr/sbin/esets_setup

        

Select MTA and content filter install options. The 

ESETS

 module being used is also displayed.

Note  that  the  installer  backs  up  all  modified  configuration  files  and  can  display  every 

command that it will execute after your approval. It can also be used for uninstalling. Detailed 

steps for all possible scenarios are described in appendix A of this documentation.

5.2. Scanning of inbound email messages

Inbound email message scanning is performed during message transfer between MTA and 

MDA. Incoming emails are intercepted by the 

esets_mda

 module, scanned by the ESETS daemon 

and delivered to MAILBOX using the original MDA. As shown in figure 5-1, virus scanning can 

be enabled by setting the proper configuration of MTA and the 

esets_mda

 module. ESET Mail 

Security  supports  most  common  MTA  programs,  such  as  MTA  Sendmail,  Postfix,  Exim,  QMail 

chapter 5

 

 

  Integration with Email messaging system

Summary of Contents for MAIL SECURITY

Page 1: ...ESET Mail Security Installation Manual and User Guide we protect digital worlds...

Page 2: ...Inbound email messages scanning 34 A 3 2 Bi directional email messages scanning 35 A 4 Setting ESETS for MTA Exim version 3 35 A 4 1 Inbound email messages scanning 35 A 4 2 Bi directional email mess...

Page 3: ...Chapter 1 Introduction...

Page 4: ...rity The system supports selective configuration specific based on the user or client server Six logging levels can be configured to retrieve information about system activity and infiltrations The ES...

Page 5: ...Chapter 2 Terminology and abbreviations...

Page 6: ...ns that the RSR package is installed as an add on application in which the primary installation directory is opt eset esets ESETS daemon The main ESETS system control and scanning daemon esets_daemon...

Page 7: ...bbreviation SBINDIR will be used for future references to this directory The SBINDIR value for the following Operating Systems is listed below Linux usr sbin Linux RSR opt eset esets sbin FreeBSD usr...

Page 8: ......

Page 9: ...Chapter 3 Installation...

Page 10: ...owing command sh esets i386 ext bin For Linux RSR variations of the product use the command sh esets rsr i386 rpm bin to display the product s User License Acceptance Agreement Once you have confirmed...

Page 11: ...Chapter 4 Architecture Overview...

Page 12: ...nd effective management of the system They are responsible for relevant system tasks such as license management quarantine management system setup and update CONFIGURATION Proper configuration is the...

Page 13: ...n 8 man page and relevant agents man pages ETCDIR certs This directory is used to store the certificates used by ESETS Web Interface for authentication Please see the esets_wwwi man page 8 for details...

Page 14: ......

Page 15: ...Chapter 5 Integration with Email Messaging System...

Page 16: ...ilboxes MUA Mail User Agent A program e g Microsoft Outlook Mozilla Mail Eudora etc that provides access to and management of email messages such as reading composing printing etc MAILBOX A file or fi...

Page 17: ...ith a variety of supported messaging systems 5 1 Bi directional email message scanning in MTA Bi directional email message scanning mode allows the user to scan inbound email messages as well as outbo...

Page 18: ...ts_setup Select the SMTP install option This will set the esets_smtp module to listen on a predefined port and redirect applicable IP packets Check the newly added firewall rule to see if any changes...

Page 19: ...m engine Taking into account these drawbacks content filtering using AMaViS is recommended only if the system administrator does not require the features discussed above 5 5 1 1 amavis configuration C...

Page 20: ...th amavisd new unpack and install the source amavisd new 2 x y tgz in your installation directory Next configure the product with the newly installed amavisd new To do this delete the clause for ESET...

Page 21: ...Chapter 6 Important ESET Mail Security mechanisms...

Page 22: ...object If an accept action has been taken as a result of these three action options the object is accepted Otherwise the object is blocked Note that an object is scanned for spam only if the configur...

Page 23: ...will be stored In the example below we create a reference to the special configuration file esets_smtp_spec cfg which is located in the ESETS configuration directory See below smtp agent_enabled yes...

Page 24: ...is self explanatory The character is placed in front of the header name of the special section for the sender address and is not placed there for the recipient address For information regarding the s...

Page 25: ...OTHER PURPOSE In order to activate the Samples Submission System the samples submission system cache must be initialized This can be achieved by enabling the samples_enabled option in the global sect...

Page 26: ...global section of the ESETS configuration file If an ERA Console password has been established the racl_password parameter must be defined All ERA Client variables are listed in the esets_ daemon 8 ma...

Page 27: ...Chapter 7 Updating ESET Mail Security...

Page 28: ...two stages First the precompiled update modules are downloaded from the ESET server If the option av_mirror_enabled is present in the global section of the ESETS configuration file copies or mirror o...

Page 29: ...Chapter 8 Let us know...

Page 30: ...owever our goal is to continually improve the quality and effectiveness of our documentation If you feel that any sections in this Guide are unclear or incomplete please let us know by contacting Cust...

Page 31: ...Appendix A ESETS setup and configuration...

Page 32: ...mon Then replace the path to the current Postfix MDA with esets_ mda path and add recipient RECIPIENT sender SENDER to the arguments as in the following example mailbox_command BINDIR esets_mda d USER...

Page 33: ...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 Free...

Page 34: ...efer the message to the queue and attempt to pass it through later However this may lead to continuous deferral of the same messages To avoid this problem the timeouts should be set properly You can e...

Page 35: ...mail 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...

Page 36: ...g ESETS for MTA Exim version 4 A 5 1 Inbound email message scanning The goal of this installation is to create an Exim transport from esets_mda for local users In the mda section of the ESETS configur...

Page 37: ...clause of scheduler conf replace your current delivery command with command sm c channel esets and append this line to sm conf replace your hostname com with your FQDN esets sSPfn BINDIR esets_mda es...

Page 38: ...sive checking from esets_smtp because those connections are local By using your own firewall rules make sure you do not create an open relay i e allow someone from the outside to connect to esets_smtp...

Page 39: ...network interface named if0 Then restart the ESETS daemon The next step is to redirect all IMAP requests to esets_imap If IP filtering is being performed by the ipchains administration tool an appropr...

Page 40: ......

Page 41: ...Appendix B PHP License...

Page 42: ...be given a distinguishing version number Once covered code has been published under a particular version of the license you may always continue to use it under the terms of that version You may also...

Reviews: