Veritas Enterprise Vault™ Setting up SMTP Archiving
- About this guide
- Introducing Enterprise Vault SMTP Archiving
- Installing SMTP Archiving
- Configuring SMTP Archiving
- Configuring target address rewriting
- PowerShell cmdlets
Configuring message tracking for SMTP messages
When you enable message tracking for the site, each Enterprise Vault SMTP server records details of each message that it receives. The SMTP server stores the message details in a message tracking log file. You can use the SMTP server log files for mail flow analysis, reporting, and troubleshooting. For example, you can compare the contents of the log files with the log file on the relay MTA to discover which messages were sent by the relay MTA but not received by an Enterprise Vault SMTP server.
Enterprise Vault generates a new message tracking log file every day. If the size of the file exceeds 10 MB, Enterprise Vault creates a new log file. The log file name format is EVSMTPMessageTracking_DNSAliasName_ yyyymmdd_n.log
, where n is the incremental number that Enterprise Vault appends to the log file name if the log file size exceeds the 10-MB limit. For example, EVSMTPMessageTracking_EV.example.com_20170128_1.log
.
The default location for the message tracking log file is Reports\SMTP\SMTPService
in the Enterprise Vault program folder. You can change the location of the log file by editing the SMTP server properties in the Administration Console. Alternatively, you can use the cmdlet, Set-EVSMTPMessageTrackingLogLocation. In a Building Blocks environment, Enterprise Vault creates the log file in the message tracking log location on the active server and uses the name of the active server in the log file name.
Enterprise Vault assigns the Local System account and the local Administrators group full control on the folder that stores the message tracking log file.
You can configure the number of days to keep the log files on the server by editing the SMTP server properties in the Administration Console or using the Set-EVSMTPServerSettings cmdlet. Log files that are older than the specified number of days are deleted.
Table: Attributes in message tracking log describes the attributes in the message tracking log. The attributes in the log file are in comma-separated value (.csv) format, so that you can easily import the file contents into a spreadsheet.
Table: Attributes in message tracking log
Attribute | Description |
---|---|
unid | The unique ID of the message. This ID is unique to the message on each SMTP server. |
qid | The ID of message in the SMTP message queue. |
msgid | The Internet Message-ID of the message. This ID is present in the message header of each message that is stored in the SMTP holding folder. |
subject | The subject line of the message. |
mta | The name of the Message Transfer Agent (MTA) that sent the message to the SMTP server. |
size | The size of the message, in bytes. |
sender | The email address of the sender of the message as processed by the MTA. |
submit-time | The time when the message is received by the SMTP server and placed in the SMTP holding folder. |