Google
Search WWW Search msexchangetips.blogspot.com

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 hotmail.com to a journal mailbox.


Open Exchange Shell and enter the following:

$Condition = Get-TransportRulePredicate FromAddressContains
$Condition.words = @("hotmail.com")
$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



References:


How to Create a New Transport Rule
http://technet.microsoft.com/en-us/library/bb123927(EXCHG.80).aspx


Transport Rule Actions
http://technet.microsoft.com/en-us/library/aa998315(EXCHG.80).aspx


Transport Rule Predicates
http://technet.microsoft.com/en-us/library/aa995960(EXCHG.80).aspx



James Chong (MVP)
MCITP | EMA; MCSE | M+, S+,
Security+, Project+, ITIL
msexchangetips.blogspot.com

3 Comments:

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