Transaction Logging

In Secure Exchange Gateway, transaction log refers to the log files under System > Monitoring & Control > Logs & Alarms > Message Transactions or Message Transactions (Enhanced). The default transaction log contains various information, such as date/time of event, message ID and attachments names, providing a brief overview of mail transactions. You can optionally select to generate an enhanced version of the log that contains more details.

The transaction log can also be exported to a user-defined FTP server. Details of the export will be recorded in the Transaction Log Export log.

 

Fortra is not responsible for managing the transaction logs on your FTP site. An administrator of your organization should maintain these logs.

Configure transaction logging

  1. Navigate to System > SMTP Settings > Transaction Logging. The Transaction Logging page is displayed.

  2. Configure the Transaction Log and FTP Settings panels as required. For more information on each panel, see the following sections in this topic.

  3. On each panel, click Save to save your changes.

  4. Apply the configuration.

 

If you change any configuration or policy settings, you must Apply Configuration for the new settings to take effect. You can do this either from the Changes Made panel, or System > Configuration > Apply Configuration. See Apply new configuration for more information.

If you use Peer Gateways (i.e. when multiple Gateways are peered), any configuration changes from a local Gateway can then be applied to all the peers at the same time. See Peer Gateways for more information.

 

Enable or disable transaction logging

  1. The Transaction Log panel indicates the current status (Enabled or Disabled). Click Click here to change these settings.

  2. Select or clear the Enable transaction logging check box as required.

  3. If you have enabled transaction logging, optionally select:

    Export the transaction logs every day at: Schedules a daily export of the log to your FTP server. Select the check box and specify a time from the drop-down menu. You will also need to configure the FTP Settings.

    Enable enhanced logging: Generates an enhanced version of the transaction log with more details.

  4. Click Save.

 

Transaction logs may contain personally identifiable information (PII). We recommend restricting access to these logs to authorized users according to your organizational policy.

 

Fields in the transaction log

If you require more details to be included in the log, select the Enable enhanced logging option in the Transaction Log panel. Enhanced logging will provide more comprehensive information, such as all triggered content rules, lexical expressions and file extensions. However, note that this can increase disk usage and log size.

  Some fields may contain non-ASCII (UTF-8) characters.
  Field Description Example Note
Default fields x-date Date and time 2026-07-08 13:59:48  
x-event Event ID IRJCT, EQUAR  
x-messageid Message ID A12d3ac456c7891  
x-peerid Local peer name company-server-12345  
x-sender Sender abc@sender.company.com  
x-recipients Recipient(s) xyz@recipient.company.com  
x-subject Subject Subject of message  
x-message-outcome Message outcome NOTDELIVERED, QUARANTINED  
x-attachments Attachment names attached-material.docx  
encryption-type Encryption type None  
Optional fields x-route-name Triggered policy route "(My Company),(Anyone)"  
c-ip Client/sender IP address 10.10.10.10  
c-dns Client/sender host name sender.company.com  
x-content-detail

Information about:

  • All triggered content rules

  • Names and types of matched files

  • Matched text

name: "Redact text 1"

"name": "123.doc"

"type": "word"

"text": ""Top secret"

Presented in JSON format with multiple fields.

When no rules are triggered, empty JSON will be returned.

When the maximum length of JSON exceeds, an error will be returned.

 

Configure FTP Settings

  1. In the FTP Settings panel, click Click here to change these settings.

  2. Enter the details of your FTP server.

    Server type: Application / Service protocol, such as FTP, FTPS (implicit), FTPS (explicit) or SFTP

    FTP Server: Fully qualified domain name (FQDN) or IP address of the FTP server

    Port: Port connecting the Gateway to the FTP server. See Firewall ports for a list of default ports.

    Username: Login credentials for the FTP server

    Password: Login credentials for the FTP server

    Remote folder: Directory on the FTP server in which relevant files are stored. This folder is automatically created if it does not exist on the FTP server already.

  3. Click Save.

 

Test FTP connection

After you have configured the FTP Settings, click Test FTP settings in the task panel and verify the connection.

 

Export the transaction log

In the Transaction Logging panel, you can schedule the Gateway to automatically export the transaction log every day.

You can also export the transaction log manually by clicking Export transaction logs now in the task panel.

The current state of the transaction log export is indicated at the top of the Transaction Logging page.

  It is not possible to manually export the transaction log while the scheduled export is already in progress.