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
Adding a large number of SMTP target addresses
The Enterprise Vault Management Shell provides PowerShell cmdlets for performing SMTP Archiving configuration tasks. See the PowerShell Cmdlets guide for more information on all of these cmdlets.
It is likely that you will have a large number of SMTP target addresses to configure for SMTP Mailbox Journaling. To create these target addresses you can use the PowerShell cmdlet, New-EVSMTPTarget. The cmdlet, Set-EVSMTPTarget, lets you update existing targets.
The following list provides an example outline of the process you could use:
Use an Active Directory group to hold the users that you are enabling for SMTP Mailbox Journaling.
Ensure that archives exist for the users.
In Active Directory export details of the users to a csv file.
You can import the csv file into PowerShell using the PowerShell Import-csv command. You can then pipe the lines in the file to the New-EVSMTPTarget cmdlet using a 'foreach-object' loop. For example,
Import-csv smtptargets.csv | foreach-object { New-EVSMTPTarget -SiteId $_.Site -Name $_.Name -PolicyName $_.Policy -RetentionCategory $_.Retention -ArchiveName $_.Archive -ArchiveType $_.ArchiveType}
For Selective SMTP Journaling or SMTP Mailbox Journaling you need to set the ArchivingEnabled switch to $true, as follows:
Import-csv smtptargets.csv | foreach-object { New-EVSMTPTarget -SiteId $_.Site -Name $_.Name -PolicyName $_.Policy -RetentionCategory $_.Retention -ArchiveName $_.Archive -ArchiveType $_.ArchiveType -ArchivingEnabled $true}
See Additional configuration for Selective SMTP Journaling or SMTP Mailbox Journaling.
More Information