Дерево страниц

Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.
Комментарий: Published by Scroll Versions from space TMAG and version 7.0
Sv translation
languageru

Если в Системе одновременно используются схемы работы "в разрыв" для SMTP- и HTTP(S)-трафика, то для более гибкой настройки Системы требуется изменить конфигурационный файл iwssid.lua следующим образом.

  1. Войдите в систему от имени пользователя root:
    su – root
  2. Откройте файл iwssid.lua, расположенный в директории /opt/iw/tm5/etc/scripts, на редактирование.
  3. Для HTTP(S)-перехватчика

    :По

    по умолчанию - Copy (режим "Копия").

    Раскомментируйте

     Раскомментируйте следующую секцию кода

    и установите параметру TransportMode значение Normal          TransportMode

    , указав действительное имя сервера ТМ ( например, tm.server.name) и значение режима Normal (режим "Блокировка"):

    if not is_generic then
         local emitter = first_text_default(root:xFind('/root/envelope/headers/emitter').nodes, '');
         if emitter == 'ICAP' then

    iwssid_icap_servers['tm.server.name'] = 'Normal'

    ;
         end

    ;

     end;


    Предупреждение
    titleВажно!

    При конфигурировании HTTP-перехватчика необходимо также отредактировать конфигурационный файл icap.conf в соответствии с выбранной схемой (см. "Настройка ICAP".)

  4. Для SMTP-перехватчика :По по умолчанию - Copy (режим "Копия"). Раскомментируйте  Раскомментируйте следующую секцию кода и установите параметру TransportMode значение Normal , указав действительное имя сервера ТМ ( например, tm.server.name) и значение режима Normal (режим "Блокировка"):
    if not is_generic then
       TransportMode  
    iwssid_smtp_servers['tm1.server.name'] = 'Normal'; end;
  5. Сохраните файл.
  6. Перезагрузите СистемуПерезапустите службы iwtm:
    iwtm restart
Sv translation
languageen

If the System processes both SMTP and HTTP(S) traffic using the inline scheme, then you should modify the iwssid.lua configuration file as described below.

  1. Log into the System as the root user:
    su – root
  2. In the /opt/iw/tm5/etc/scripts directory, open the iwssid.lua file for editing.
  3. For HTTP interceptor:

    By default - Default mode for HTTP (S) interceptor is Copy ("Copy" mode). Uncomment the following section and set Normal mode for TransportMode parameter by filling in the valid name of TM server (for example, tm.server.name) and mode value Normal ("Block" mode):

    if not is_generic then
         local emitter = first_text_default(root:xFind('/root/envelope/headers/emitter').nodes, '');
         if emitter == 'ICAP' then
             TransportMode = 'Normal';
         end;
     end;

    iwssid_icap_servers['tm.server.name'] = 'Normal';

    Предупреждение
    titleImportant!

    When configuring the HTTP interceptor, you should also edit the icap.conf configuration file according to the selected scheme (see "Configuring ICAP").

  4. For Default mode for SMTP - interceptor By default -is Copy ("Copy" mode). Uncomment the following section and set Normal mode for TransportMode parameter by filling in the valid name of TM server (for example, tm.server.name) and mode value Normal ("Block" mode):

    if not is_generic then 
       TransportMode iwssid_smtp_servers['tm1.server.name'] = 'Normal'; end;

  5. Save the file.

  6. Restart the System iwtm services:

    iwtm restart