Search WWW Search

Wednesday, April 09, 2008

Exchange 2007: Transport Rule Journal Selective Domain

Summary: This article will go over how to journal a selective domain using a custom transport rule. The following example shows how to use a custom transport rule to copy all emails from to a journal mailbox.

Open Exchange Shell and enter the following:

$Condition = Get-TransportRulePredicate FromAddressContains
$Condition.words = @("")
$Action = Get-TransportRuleAction Copyto
$Action.Addresses = @(get-mailbox "journal")
New-TransportRule -Name "copy messages to journal mailbox" -Conditions @($Condition) -Actions @($Action)

This rule sends a copy to ie. CC's the message to a journal mailbox. You can also opt to BCC by changing third line to:

$Action = Get-TransportRuleAction BlindCopyto


How to Create a New Transport Rule

Transport Rule Actions

Transport Rule Predicates

James Chong (MVP)
Security+, Project+, ITIL


Anonymous Anonymous said...

he price range offered by Christian Shoes is sometimes not affordable by the normal working class of people. Nothing to get worried about, now with the introduction of Christian Louboutin Pumps in the market one can get all the features of the Christian Louboutin Boots at attractive low prices. One can look into the online catalogue for different styles and colors. Christian Louboutin Sandals will surely be a wise decision to make.

5:25 PM  
Anonymous sex shop tienda said...

This will not have effect as a matter of fact, that's what I suppose.

7:57 AM  
Anonymous Suain Logistics said...

nice concept and great to see your blogspot..

10:24 PM  

Post a Comment

<< Home

xml:lang="en" lang="en"> MS Exchange Tips: Exchange 2007: Transport Rule Journal Selective Domain