Traffic Monitor Server is used as an intermediate mail server. It includes Postfix mail server. Integration of Traffic Monitor mail server with a mail server is implemented in the following way. Postfix mail server which is embedded in the Traffic Monitor system receives incoming SMTP messages via port 25. SMTP messages are then transmitted to the iw_smtpd process via port 2025. For each message, the System creates an event. Depending on the selected scheme (Copy or Block), SMTP traffic can be transmitted in the following ways: - Copy mode considers that SMTP traffic is transmitted to the recipient and also to InfoWatch Traffic Monitor via Postfix
Image Removed Block mode considers that Traffic Monitor System analyzes SMTP traffic and,
In the Inline mode, SMTP traffic is analysed by Traffic Monitor and: - if there is no violation, SMTP traffic is
transmitted recipient - recepient or to the next relay server in the
corporate mailing System via - company's mail system by means of the embedded Postfix server. Delivery
is performed - works as follows: the iw_messed process
transmits messages to 2020 port of - sends emails to port 2020 of the Postfix mail server. The Postfix mail server either delivers
messages - emails to recipients directly or transmits them to the next mail relay server;
- if there is a violation
and according to policies this should be a Quarantine - and policies contain the Quarantine verdict, then the System
gives - sets the Quarantine verdict to the
message It - The email will be delivered only if the Security Officer
changes verdict to in Management - user decision and allows the delivery in the Management Console (see the document
«- "InfoWatch Traffic Monitor. User
guide» The delivery is performed - Delivery works as follows:
process transmits messages to 2020 port - process transmits emails to port 2020 of the
embedded mail - server that is embedded in the System. The Postfix mail server either delivers
messages - emails to recipients directly or transmits them to the next mail relay server;
- if there is a violation and
according to policies this should be a Block - policies contain the Block verdict,
the System gives Blocked verdict - then the System sets the Block verdict to the
message. Sending will be blocked - email. In this case, the email will not be delivered and the event will be
put into DB Image Removed
Image Added
To configure the inline mode: Configure On the corporate mail server, configure Traffic Monitor as a relay server on a corporate mail server. | Информация |
|---|
| If the company uses more than one mail server each server should be configured to send messages to the embedded Postfix server. The configuration process may differ depending on the mail server which is used in the company. |
As a result, all mail traffic sent from a corporate mail server is transmitted to Traffic Monitor Server. - Make sure that autostart for the iw_smtpd and iw_deliver processes is enabled (see "Process Autorun").
- Configure Postfix server embedded in the System (see "Configuring Postfix Server in Traffic Monitor system").
- Stop iw_luaengined process:
iwtm stop iw_luaengined - Open the file luaengined.conf, located in
/opt/iw/tm5/etc to edit; In Smtp property of TransportModes section specify TM server name with interceptor (for example, tm-server1) and mode value Normal (Block mode):
"Smtp": [{"Server": "tm-server1", "Mode": "Normal"}] | Предупреждение |
|---|
| In case of distributed installation, the mode is defined by the local iw_luaengined process or the one located on another node. That is why, on each node in /opt/iw/tm5/etc/scripts/iwssid.lua file in Smtp property of TransportModes section you need to specify several pairs of the valid addresses of TM servers and the required modes. For example: "Smtp": [{"Server": "tm-server1", "Mode": "Copy"}, {"Server":"tm1.org.ru", "Mode": "Normal"}]
Important! The file iwssid.lua should be the same on all the nodes. |
- Save the file.
- Restart the System:
iwtm restart
For the traffic to be transmitted in spite of a verdict given:
Set Transparent value for TransportMode parameter - Set the
Transparent value for the TransportMode parameter within the code above at step 5- 6.
Complete the steps 6 and 7 described above.- Save the file.
- Restart the System:
iwtm restart
Delivering SMTP emails with processing errors, sent in "inline mode" SMTP emails processing of which caused errors, are to be put into the error queues: queue/x2x-errors и queue/errors. Delivering SMTP emails (including the ones with "Quarantine verdict" assigned) is performed by iw_rammer daemon from error queues. After that the queues are to be refined. Sender and addressee addresses (if sufficient) to be taken from .xml file. Otherwise, the email cannot be delivered. When sending e-mail to Security officer, adressee and recipient adresses are specified within the configuration file opt/iw/tm5/etc/rammer.conf. The enclosed mail contains object .xml and .dat files.E-mail sending to the addressee as well as notification for Security officer is performed via Postfix mail server (port 2020). Notification is to be delivered to security officer via event email and the sender is specified from initial message. Connection data (address and port), as well as the addressee and sender addresses, are set within the rammer.conf configuration file (for details, see the document "Configuration Files Guide", the "rammer.conf" file). SMTP email is to be delivered when meeting the following terms: - if it wasn't delivered in a regular mode (by daemon iw_messed);
- If
"Block" mode is installed when processing the e-mail and when the e-mail got into error queue; - if the email wasn't qualified as the "Blocked" one.
Mandatory delivery measure is opt/iw/tm5/rammer-tool utility. To view the list of available settings, enter in the command line: /opt/iw/tm5/bin/rammer_tool --help |