Veritas Enterprise Vault™ Setting up SMTP Archiving

Last Published:
Product(s): Enterprise Vault (12.2)
  1. About this guide
    1.  
      Introducing this guide
    2. Where to get more information about Enterprise Vault
      1.  
        Enterprise Vault training modules
  2. Introducing Enterprise Vault SMTP Archiving
    1.  
      About Enterprise Vault SMTP Archiving
    2.  
      About SMTP Journaling
    3.  
      About Selective SMTP Journaling
    4.  
      About SMTP Mailbox Journaling
    5.  
      Configuring SMTP Journaling and SMTP Mailbox Journaling
    6.  
      Configuring Selective SMTP Journaling and SMTP Mailbox Journaling
    7.  
      Using Exchange Server to journal messages to Enterprise Vault
  3. Installing SMTP Archiving
    1.  
      About installing Enterprise Vault SMTP Archiving components
    2.  
      Reporting
    3.  
      Monitoring
  4. Configuring SMTP Archiving
    1.  
      Steps to configure SMTP Archiving
    2.  
      Creating archives for SMTP messages
    3. Configuring retention categories and SMTP policies
      1. About X-Headers
        1.  
          About X-Kvs X-Headers
        2.  
          Searching archives for messages with specific X-Headers
    4. Configuring the Enterprise Vault SMTP Servers in the site
      1.  
        Entering the name or IP address of connecting hosts
      2.  
        Obtaining an SSL/TLS certificate
      3.  
        Configuring message tracking for SMTP messages
    5. Adding SMTP target addresses
      1.  
        Additional configuration for Selective SMTP Journaling or SMTP Mailbox Journaling
      2.  
        Additional configuration for Compliance Accelerator
      3.  
        Adding a large number of SMTP target addresses
    6. Adding an SMTP Archiving task
      1.  
        About the SMTP holding folder
      2.  
        Keeping safety copies of archived messages
      3.  
        Task summary reports
  5. Configuring target address rewriting
    1.  
      About target address rewriting
    2.  
      Steps to configure target address rewriting
    3.  
      Adding SMTP target addresses
    4.  
      Adding target address aliases
  6. PowerShell cmdlets
    1.  
      About the PowerShell cmdlets for SMTP Archiving

About X-Kvs X-Headers

This section describes the special Enterprise Vault X-Headers that third-party applications or MTAs can add to messages to override policy and target settings. These X-Headers begin with "X-Kvs". Enterprise Vault recognizes and processes "X-Kvs" headers, so you do not need to add these to the X-Header list in the policy properties.

If a message contains multiple instances of the same X-Header, Enterprise Vault uses the first one only, and ignores the others.

As with X-Headers that you add to the X-Header list in the policy, Enterprise Vault treats the names and values of these special X-Headers as case sensitive.

X-Kvs-ArchiveId

X-Kvs-ArchiveId provides the ID of the archive in which to store the message. For example: X-Kvs-ArchiveId: 160EEB78D4253BE40AA8EBEBA09C7DFEE1210000evserver1.

This header can be used to identify a different archive from the one that is configured for the target address in the message.

For example, a message is sent to the target address journal1@example.com, and the archive configured for that target address is journal1. If X-Kvs-ArchiveId is added to the message, Enterprise Vault stores the message in the archive identified in the X-Header, rather than journal1.

X-Kvs-IndexData

You can use the Enterprise Vault X-Header, X-Kvs-IndexData, to do the following:

  • Add multiple values for an X-Header. Using standard X-Headers, you can only add one value per X-Header.

  • Add multiple custom index properties and property values in the one X-Header.

The header value is specified using XML. The XML element and attribute names and values are treated as case sensitive.

The following X-Kvs-IndexData example adds the X-Header, X-ExampleCorp-Dept, with multiple values:

X-Kvs-IndexData: <ARCHIVED_ITEM version="1.0"><PROPSET NAME="EVXHDR">
<PROP NAME=" X-ExampleCorp-Dept RESULTS="true" SEARCH="true">
<VALUE>Sales</VALUE><VALUE>Marketing</VALUE></PROP></PROPSET>
</ARCHIVED_ITEM>

Enterprise Vault adds X-Headers to the reserved index property set, EVXHDR. If you add other custom index properties, then you should specify a different property set for these properties. Suitable property set names for custom index properties would be your company name or the application name. The following property set names are reserved:

  • Vault

  • EnterpriseVault

  • Any property set name starting with EV; for example, EVXHDR.

  • KVS

  • Veritas

In the following example, X-Kvs-IndexData is used to add two custom index properties, Dept and Region, to a message:

X-Kvs-IndexData: <ARCHIVED_ITEM version="1.0"><PROPSET NAME="ChatApp">
<PROP NAME="Dept" type="string" RESULTS="true" SEARCH="true">Sales</PROP>
<PROP NAME="Region" type="string" RESULTS="true" SEARCH="true">EMEA</PROP>
</PROPSET></ARCHIVED_ITEM>

In this example, the application name, ChatApp, is used as the property set name for the two custom index properties.

The first property, ChatApp.Dept, has the value "Sales". The property is searchable and retrievable.

The second property, ChatApp.Region, has the value "EMEA". This property is also searchable and retrievable.

The following example uses X-Kvs-IndexData to add the custom index property, ChatApp.Region, with multiple values:

X-Kvs-IndexData: <ARCHIVED_ITEM version="1.0"><PROPSET NAME="ChatApp">
<PROP NAME="Region" type="string" RESULTS="true" SEARCH="true">
<VALUE>USA</VALUE><VALUE>EMEA</VALUE><VALUE>ASIA</VALUE></PROP>
</PROPSET></ARCHIVED_ITEM>

In this example, the ChatApp.Region property has the values, "USA", "EMEA", and "ASIA". The property is searchable and retrievable.

It is advisable to reduce the header size as much as possible. If the default values for attributes are required, you can omit the attributes from the header. Table: Default values for XML attributes lists the default values for the XML attributes.

Table: Default values for XML attributes

Attribute

Default value

RESULTS

"false"

SEARCH

"true"

type

"string"

In the previous example, the default values for SEARCH and type attributes are required, so you can omit these attributes:

X-Kvs-IndexData: <ARCHIVED_ITEM version="1.0"><PROPSET NAME="ChatApp">
<PROP NAME="Region" RESULTS="true"><VALUE>USA</VALUE><VALUE>EMEA</VALUE>
<VALUE>ASIA</VALUE></PROP></PROPSET></ARCHIVED_ITEM>

When searching for a custom index property that has been added using X-Kvs-IndexData, you specify the property in the form property_set_name.property_name, for example ChatApp.Region.

When searching for an X-Header that has been added using X-Kvs-IndexData, you specify the X-Header in the form EVXHDR.X-Header_name, for example EVXHDR.X-ExampleCorp-Dept.

See Searching archives for messages with specific X-Headers.

Note the following points about the value specified in the X-Kvs-IndexData header:

  • The XML value can be folded according to the syntax rules in RFC 822.

  • To support the use of international characters in the XML, the entire header value must be encoded as specified in RFC 2047.

    The following example shows how the header value might look when UTF-8 character set and BASE64 encoding is used:

    X-Kvs-IndexData: =?UTF-8"?B?PEFSQ0hJVkVEX0lURU0+PFBST1BTRVQgTkFNRT0i
    Q2hhdEFwcCI+PFBST1AgTkFNRT0iRGVwdCI+PFZBTFVFPlNhbGVzPC9WQUxVRT48L1BS
    T1A+PC9QUk9QU0VUPjwvQVJDSElWRURfSVRFTT4=?=

    Encoding only certain words in the XML is not supported. Similarly, specifying the encoding in the XML prolog is not adequate. For example,

    X-Kvs-IndexData: <ARCHIVED_ITEM version="1.0" encoding="UTF-8"> ... </ARCHIVED_ITEM>

X-Kvs-MessageType

X-Kvs-MessageType identifies the type of the message. For example: X-Kvs-MessageType: Bloomberg.

This header is used to override the value of the Vault.MsgType property that Enterprise Vault assigns to the message when it is archived. By default, if a message is archived using SMTP Archiving, Enterprise Vault assigns the value SMTP.Mail to the Vault.MsgType property.

The value of the Vault.MsgType property can be used in search applications, such as Discovery Accelerator, to filter the messages to search. If, for example, SMTP Archiving is used to archive Bloomberg messages, then the message type needs to be identified as Bloomberg. If the message type is not set to Bloomberg, the messages will not be included in Discovery Accelerator searches of Bloomberg messages.

X-Kvs-OriginalLocation

X-Kvs-OriginalLocation identifies the location in the content source to set for the message. Original location refers to the folder in the content source where the message resides. This could be set to the name of a top-level folder, or a folder path. For example: X-Kvs-OriginalLocation: CompanyA\ProductB\CustomerC.

You can add this X-Header to a message to specify a different archive folder for the message. If a message contains the example X-Header shown above, and the target archive type can contain folders, then the task would store the message in the following location:

Top-level folder: CompanyA

Subfolder: ProductB

Subfolder: CustomerC

If the folder structure does not exist, the task creates the folders when it stores the message.

This X-Header is only effective if the target archive type can contain folders.

In SMTP Journaling and Selective SMTP Journaling, the SMTP Archiving task archives messages in the Inbox, if the archive type can contain folders. If the message contains an X-Kvs-OriginalLocation header, and the archive can contain folders, then the task stores the message in the location indicated in the X-Header instead of the Inbox.

Typically the type of archives used for SMTP Mailbox Journaling can contain folders; for example, Exchange mailbox, or Internet mail archives. The task stores messages in the Inbox, or Sent Items folder, or both, depending on whether a target address is the sender, recipient, or both. If the message contains an X-Kvs-OriginalLocation header, then the task stores the message in the location indicated in the X-Header instead of the Inbox or Sent Items folders.

X-Kvs-RetentionCategory

X-Kvs-RetentionCategory provides the ID of the retention category to assign to the message. For example: X-Kvs-RetentionCategory: 1505EB2CDB9C6AA44B30335E4A785F98C1b10000evserver1.

This header can be used to identify a different retention category from the one that is configured for the target address in the message.

For example, a message is sent to the target address journal1@example.com, and the retention category configured for that target address is 7years. If X-Kvs-RetentionCategory is added to the message, Enterprise Vault applies the retention category identified in the X-Header, rather than 7years.