Mark Galvin
asked on
Issue with New-TransportRule on Exchange 2010 Hosted Mode
Hi
Client needs the inbound & outbound emails of a new intern blinded copied to their manager.
Exchange 2010 Hosted Mode (so shell only). I have setup the rules as follows:
Checking the rule:
Any one have any more trouble shooting tips or ideas on how to get the rules to work?
Thanks
Mark
Client needs the inbound & outbound emails of a new intern blinded copied to their manager.
Exchange 2010 Hosted Mode (so shell only). I have setup the rules as follows:
new-transportrule -Name 4950BCCMRoutbound -From intern@domain.com -BlindCopyTo Manager@domain.com
new-transportrule -Name 4950BCCMRinbound -SentTo intern@domain.com -BlindCopyTo Manager@domain.com
Rules are created. But the manager, on testing the intern's account is not getting the emails in his mailbox - for either direction.Checking the rule:
[PS] C:\Windows\system32>Get-TransportRule
Name State Priority Comments
---- ----- -------- --------
4950BCCMRoutbound Enabled 0
4950BCCMRinbound Enabled 1
[PS] C:\Windows\system32>Get-TransportRule | Format-List
RunspaceId : feb9cec7-339b-4630-8bff-6d00f23dc53e
Priority : 0
Comments :
ManuallyModified : False
Description : If the message:
Is received from 'intern@domain.com'
Take the following actions:
Blind carbon copy(Bcc) the message to 'Manager@domain.com'
RuleVersion : 14.0.0.0
Conditions : {From}
Exceptions :
Actions : {BlindCopyTo}
State : Enabled
From : {intern@domain.com}
FromMemberOf :
FromScope :
SentTo :
SentToMemberOf :
SentToScope :
BetweenMemberOf1 :
BetweenMemberOf2 :
ManagerAddresses :
ManagerForEvaluatedUser :
SenderManagementRelationship :
ADComparisonAttribute :
ADComparisonOperator :
SenderADAttributeContainsWords :
SenderADAttributeMatchesPatterns :
RecipientADAttributeContainsWords :
RecipientADAttributeMatchesPatterns :
AnyOfToHeader :
AnyOfToHeaderMemberOf :
AnyOfCcHeader :
AnyOfCcHeaderMemberOf :
AnyOfToCcHeader :
AnyOfToCcHeaderMemberOf :
HasClassification :
HasNoClassification : False
SubjectContainsWords :
SubjectOrBodyContainsWords :
HeaderContainsMessageHeader :
HeaderContainsWords :
FromAddressContainsWords :
SubjectMatchesPatterns :
SubjectOrBodyMatchesPatterns :
HeaderMatchesMessageHeader :
HeaderMatchesPatterns :
FromAddressMatchesPatterns :
AttachmentNameMatchesPatterns :
SCLOver :
AttachmentSizeOver :
WithImportance :
MessageTypeMatches :
RecipientAddressContainsWords :
RecipientAddressMatchesPatterns :
SenderInRecipientList :
RecipientInSenderList :
AttachmentContainsWords :
AttachmentMatchesPatterns :
AttachmentIsUnsupported : False
AnyOfRecipientAddressContainsWords :
AnyOfRecipientAddressMatchesPatterns :
ExceptIfFrom :
ExceptIfFromMemberOf :
ExceptIfFromScope :
ExceptIfSentTo :
ExceptIfSentToMemberOf :
ExceptIfSentToScope :
ExceptIfBetweenMemberOf1 :
ExceptIfBetweenMemberOf2 :
ExceptIfManagerAddresses :
ExceptIfManagerForEvaluatedUser :
ExceptIfSenderManagementRelationship :
ExceptIfADComparisonAttribute :
ExceptIfADComparisonOperator :
ExceptIfSenderADAttributeContainsWords :
ExceptIfSenderADAttributeMatchesPatterns :
ExceptIfRecipientADAttributeContainsWords :
ExceptIfRecipientADAttributeMatchesPatterns :
ExceptIfAnyOfToHeader :
ExceptIfAnyOfToHeaderMemberOf :
ExceptIfAnyOfCcHeader :
ExceptIfAnyOfCcHeaderMemberOf :
ExceptIfAnyOfToCcHeader :
ExceptIfAnyOfToCcHeaderMemberOf :
ExceptIfHasClassification :
ExceptIfHasNoClassification : False
ExceptIfSubjectContainsWords :
ExceptIfSubjectOrBodyContainsWords :
ExceptIfHeaderContainsMessageHeader :
ExceptIfHeaderContainsWords :
ExceptIfFromAddressContainsWords :
ExceptIfSubjectMatchesPatterns :
ExceptIfSubjectOrBodyMatchesPatterns :
ExceptIfHeaderMatchesMessageHeader :
ExceptIfHeaderMatchesPatterns :
ExceptIfFromAddressMatchesPatterns :
ExceptIfAttachmentNameMatchesPatterns :
ExceptIfSCLOver :
ExceptIfAttachmentSizeOver :
ExceptIfWithImportance :
ExceptIfMessageTypeMatches :
ExceptIfRecipientAddressContainsWords :
ExceptIfRecipientAddressMatchesPatterns :
ExceptIfSenderInRecipientList :
ExceptIfRecipientInSenderList :
ExceptIfAttachmentContainsWords :
ExceptIfAttachmentMatchesPatterns :
ExceptIfAttachmentIsUnsupported : False
ExceptIfAnyOfRecipientAddressContainsWords :
ExceptIfAnyOfRecipientAddressMatchesPatterns :
PrependSubject :
ApplyClassification :
ApplyHtmlDisclaimerLocation :
ApplyHtmlDisclaimerText :
ApplyHtmlDisclaimerFallbackAction :
ApplyRightsProtectionTemplate :
SetSCL :
SetHeaderName :
SetHeaderValue :
RemoveHeader :
AddToRecipients :
CopyTo :
BlindCopyTo : {Manager@domain.com}
AddManagerAsRecipientType :
ModerateMessageByUser :
ModerateMessageByManager : False
RedirectMessageTo :
RejectMessageEnhancedStatusCode :
RejectMessageReasonText :
DeleteMessage : False
Disconnect : False
Quarantine : False
SmtpRejectMessageRejectText :
SmtpRejectMessageRejectStatusCode :
LogEventText :
Identity : 4950BCCMRoutbound
DistinguishedName : CN=4950BCCMRoutbound,CN=TransportVersioned,CN=Rules,CN=Transport Settings,CN=Exchange,CN=Microsoft Exc
hange,CN=Services,CN=Configuration,DC=XXXXX,DC=XXX,DC=ads
Guid : 89495421-ebf4-4927-a521-f40a550f033c
OrganizationId :
Name : 4950BCCMRoutbound
IsValid : True
WhenChanged : 29/02/2016 11:15:08
ExchangeVersion : 0.1 (8.0.535.0)
RunspaceId : feb9cec7-339b-4630-8bff-6d00f23dc53e
Priority : 1
Comments :
ManuallyModified : False
Description : If the message:
Is sent to 'intern@domain.com'
Take the following actions:
Blind carbon copy(Bcc) the message to 'Manager@domain.com'
RuleVersion : 14.0.0.0
Conditions : {SentTo}
Exceptions :
Actions : {BlindCopyTo}
State : Enabled
From :
FromMemberOf :
FromScope :
SentTo : {intern@domain.com}
SentToMemberOf :
SentToScope :
BetweenMemberOf1 :
BetweenMemberOf2 :
ManagerAddresses :
ManagerForEvaluatedUser :
SenderManagementRelationship :
ADComparisonAttribute :
ADComparisonOperator :
SenderADAttributeContainsWords :
SenderADAttributeMatchesPatterns :
RecipientADAttributeContainsWords :
RecipientADAttributeMatchesPatterns :
AnyOfToHeader :
AnyOfToHeaderMemberOf :
AnyOfCcHeader :
AnyOfCcHeaderMemberOf :
AnyOfToCcHeader :
AnyOfToCcHeaderMemberOf :
HasClassification :
HasNoClassification : False
SubjectContainsWords :
SubjectOrBodyContainsWords :
HeaderContainsMessageHeader :
HeaderContainsWords :
FromAddressContainsWords :
SubjectMatchesPatterns :
SubjectOrBodyMatchesPatterns :
HeaderMatchesMessageHeader :
HeaderMatchesPatterns :
FromAddressMatchesPatterns :
AttachmentNameMatchesPatterns :
SCLOver :
AttachmentSizeOver :
WithImportance :
MessageTypeMatches :
RecipientAddressContainsWords :
RecipientAddressMatchesPatterns :
SenderInRecipientList :
RecipientInSenderList :
AttachmentContainsWords :
AttachmentMatchesPatterns :
AttachmentIsUnsupported : False
AnyOfRecipientAddressContainsWords :
AnyOfRecipientAddressMatchesPatterns :
ExceptIfFrom :
ExceptIfFromMemberOf :
ExceptIfFromScope :
ExceptIfSentTo :
ExceptIfSentToMemberOf :
ExceptIfSentToScope :
ExceptIfBetweenMemberOf1 :
ExceptIfBetweenMemberOf2 :
ExceptIfManagerAddresses :
ExceptIfManagerForEvaluatedUser :
ExceptIfSenderManagementRelationship :
ExceptIfADComparisonAttribute :
ExceptIfADComparisonOperator :
ExceptIfSenderADAttributeContainsWords :
ExceptIfSenderADAttributeMatchesPatterns :
ExceptIfRecipientADAttributeContainsWords :
ExceptIfRecipientADAttributeMatchesPatterns :
ExceptIfAnyOfToHeader :
ExceptIfAnyOfToHeaderMemberOf :
ExceptIfAnyOfCcHeader :
ExceptIfAnyOfCcHeaderMemberOf :
ExceptIfAnyOfToCcHeader :
ExceptIfAnyOfToCcHeaderMemberOf :
ExceptIfHasClassification :
ExceptIfHasNoClassification : False
ExceptIfSubjectContainsWords :
ExceptIfSubjectOrBodyContainsWords :
ExceptIfHeaderContainsMessageHeader :
ExceptIfHeaderContainsWords :
ExceptIfFromAddressContainsWords :
ExceptIfSubjectMatchesPatterns :
ExceptIfSubjectOrBodyMatchesPatterns :
ExceptIfHeaderMatchesMessageHeader :
ExceptIfHeaderMatchesPatterns :
ExceptIfFromAddressMatchesPatterns :
ExceptIfAttachmentNameMatchesPatterns :
ExceptIfSCLOver :
ExceptIfAttachmentSizeOver :
ExceptIfWithImportance :
ExceptIfMessageTypeMatches :
ExceptIfRecipientAddressContainsWords :
ExceptIfRecipientAddressMatchesPatterns :
ExceptIfSenderInRecipientList :
ExceptIfRecipientInSenderList :
ExceptIfAttachmentContainsWords :
ExceptIfAttachmentMatchesPatterns :
ExceptIfAttachmentIsUnsupported : False
ExceptIfAnyOfRecipientAddressContainsWords :
ExceptIfAnyOfRecipientAddressMatchesPatterns :
PrependSubject :
ApplyClassification :
ApplyHtmlDisclaimerLocation :
ApplyHtmlDisclaimerText :
ApplyHtmlDisclaimerFallbackAction :
ApplyRightsProtectionTemplate :
SetSCL :
SetHeaderName :
SetHeaderValue :
RemoveHeader :
AddToRecipients :
CopyTo :
BlindCopyTo : {Manager@domain.com}
AddManagerAsRecipientType :
ModerateMessageByUser :
ModerateMessageByManager : False
RedirectMessageTo :
RejectMessageEnhancedStatusCode :
RejectMessageReasonText :
DeleteMessage : False
Disconnect : False
Quarantine : False
SmtpRejectMessageRejectText :
SmtpRejectMessageRejectStatusCode :
LogEventText :
Identity : 4950BCCMRinbound
DistinguishedName : CN=4950BCCMRinbound,CN=TransportVersioned,CN=Rules,CN=Transport Settings,CN=Exchange,CN=Microsoft Exch
ange,CN=Services,CN=Configuration,DC=XXXXX,DC=XXX,DC=ads
Guid : a46fa637-9b0e-43f0-b63a-04d74e8e53de
OrganizationId :
Name : 4950BCCMRinbound
IsValid : True
WhenChanged : 29/02/2016 11:55:47
ExchangeVersion : 0.1 (8.0.535.0)
Any one have any more trouble shooting tips or ideas on how to get the rules to work?
Thanks
Mark
If you run Get-TransportAgent, is "Transport Rule Agent" enabled?
ASKER
Hi
In line 172 of my pasted code it shows the 'State' as 'Enabled'.
Thanks
Mark
In line 172 of my pasted code it shows the 'State' as 'Enabled'.
Thanks
Mark
This isn't the same thing though. You can have the transport rule enabled, but if the corresponding transport agent is disabled the rule will never be evaluated.
ASKER
Ah, I see. I will check tomorrow when I'm on site at clients.
ASKER
Hi Chris
Checked:
So Transport Rule Agent is running.
Created some new test Transport Rules to BBC in accounts on either direction and not working.
Checked:
[PS] C:\Windows\system32>Get-TransportAgent
Identity Enabled Priority
-------- ------- --------
Transport Rule Agent True 1
Text Messaging Routing Agent True 2
Text Messaging Delivery Agent True 3
So Transport Rule Agent is running.
Created some new test Transport Rules to BBC in accounts on either direction and not working.
Hmm, OK. Could you perform a test with a very basic transport rule?
This rule has no filter, so will apply to all messages. All it does is append a header to the email, so won't have any effect on your users, but will allow you to check if it's working.
TransportRuleTest: Passed
You can't get much more basic than this. If this rule works, it looks like the filters you're using on your rules aren't matching for some reason. If this rule doesn't work, then there's a much more fundamental issue somewhere.
This rule has no filter, so will apply to all messages. All it does is append a header to the email, so won't have any effect on your users, but will allow you to check if it's working.
New-TransportRule -Name Test -SetHeaderName TransportRuleTest -SetHeaderValue Passed
Once you've added this rule, give it a couple of minutes and send a test email. View the headers of the message (let me know if you don't know how to do this) and you should see the line:TransportRuleTest: Passed
You can't get much more basic than this. If this rule works, it looks like the filters you're using on your rules aren't matching for some reason. If this rule doesn't work, then there's a much more fundamental issue somewhere.
ASKER
New Transport Rule created. Will post head results shortly.
ASKER
Hi
TransportRuleTest: Passed not appearing in the headers.
TransportRuleTest: Passed not appearing in the headers.
Is there anything you can think of that's unique about your exchange infrastructure?
Could you post the results of Get-TransportPipeline | fl Event, TranportAgents?
We can also perform a trace of the message and see if there's anything indicative of an issue in the log.
Enable pipeline tracing on your transport servers:
Send a test email from the relevant mailbox. Find the log on your transport server. The logs will be contained (by default) in "C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs \PipelineT racing". You may need to search all your hub transport servers until you find the one that handled the message. We need the latest log in the folder (usually something like "Routing0020.eml").
Paste the contents of that text file here. Probably best to anonymise email addresses etc, just make sure that if you change any hostnames in the file, these remain consistent so we can work out what's what.
Revert the changes you made to Pipeline Tracing:
Could you post the results of Get-TransportPipeline | fl Event, TranportAgents?
We can also perform a trace of the message and see if there's anything indicative of an issue in the log.
Enable pipeline tracing on your transport servers:
Get-TransportServer | Set-TransportServer -PipelineTracingSenderAddress user@test.com -PipelineTracingEnabled $true
Replace the address in the command above with the address you're sending test messages from.Send a test email from the relevant mailbox. Find the log on your transport server. The logs will be contained (by default) in "C:\Program Files\Microsoft\Exchange Server\TransportRoles\Logs
Paste the contents of that text file here. Probably best to anonymise email addresses etc, just make sure that if you change any hostnames in the file, these remain consistent so we can work out what's what.
Revert the changes you made to Pipeline Tracing:
Get-TransportServer | Set-TransportServer -PipelineTracingSenderAddress $null -PipelineTracingEnabled $false
ASKER
Ok.
Trace log:
[PS] C:\Windows\system32>Get-TransportPipeline | fl Event, TranportAgents
Event : OnConnectEvent
Event : OnHeloCommand
Event : OnEhloCommand
Event : OnAuthCommand
Event : OnEndOfAuthentication
Event : OnMailCommand
Event : OnRcptCommand
Event : OnDataCommand
Event : OnEndOfHeaders
Event : OnEndOfData
Event : OnHelpCommand
Event : OnNoopCommand
Event : OnReject
Event : OnRsetCommand
Event : OnDisconnectEvent
Event : OnSubmittedMessage
Event : OnResolvedMessage
Event : OnRoutedMessage
Event : OnCategorizedMessage
[PS] C:\Windows\system32>
Trace log:
X-CreatedBy: MessageSnapshot-Begin injected headers
X-MessageSnapshot-UTC-Time: 2016-06-08T10:38:01.225Z
X-MessageSnapshot-Record-Id: 1759
X-MessageSnapshot-Source: OnRoutedMessage,Redirection Agent
X-Sender: sender@sender.com
X-Receiver: receiver@recevier.com
X-EndOfInjectedXHeaders: MessageSnapshot-End injected headers
Received: from server.sender.com ([fe80::e50f:5f66:9b0c:53df]) by
server.sender.com ([fe80::e50f:5f66:9b0c:53df%17]) with mapi id
14.01.0438.000; Wed, 8 Jun 2016 11:38:01 +0100
Content-Type: application/ms-tnef; name="winmail.dat"
Content-Transfer-Encoding: binary
From: Sender <sender@sender.com>
To: INT - receiver <receiver@recevier.com>
Subject: test 3
Thread-Topic: test 3
Thread-Index: AdHBcdNzST6SQ5xIQaSwSoEQ6PSRng==
Date: Wed, 8 Jun 2016 11:38:00 +0100
Message-ID: <04C4FA896822A14B8E510A4EC72FB25C010005989E@server.sender.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-Exchange-Organization-SCL: -1
X-MS-TNEF-Correlator: <04C4FA896822A14B8E510A4EC72FB25C010005989E@server.sender.com>
MIME-Version: 1.0
X-MS-Exchange-Organization-OriginalSize: 5393
X-MS-Exchange-Organization-OriginalArrivalTime: 08 Jun 2016 10:38:00.4765
(UTC)
X-MS-Exchange-Organization-MessageSource: StoreDriver
X-MS-Exchange-Organization-MessageDirectionality: Originating
X-MS-Exchange-Forest-MessageScope: 2326e001-5e36-485c-8273-d7f5e240210e
X-MS-Exchange-Organization-MessageScope: 2326e001-5e36-485c-8273-d7f5e240210e
X-MS-Exchange-Organization-AuthSource: server.sender.com
X-MS-Exchange-Organization-AuthAs: Internal
X-MS-Exchange-Organization-AuthMechanism: 04
X-MS-Exchange-Organization-BCC:
X-MS-Exchange-Organization-OriginalClientIPAddress: x.x.x.x
X-Originating-IP: [x.x.x.x]
X-MS-Exchange-Organization-OriginalServerIPAddress:
fe80::e50f:5f66:9b0c:53df%17
X-MS-Exchange-Organization-MessageLatency:
SRV=server.sender.com:TOTAL=0
X-MS-Exchange-Organization-HygienePolicy: Standard
X-MS-Exchange-Organization-Recipient-Limit-Verified: True
X-MS-Exchange-Organization-Processed-By-Gcc-Journaling: Journal Agent
X-MS-Exchange-Organization-Processed-By-Journaling: Journal Agent
xŸ>"¸Z ä è € ! 0F1CA264434DC644B35686880768ED93
€ € à
& ( € à
& ( \ 0 $ 0 4 receiver@recevier.com 0
S M T P ÷_ z +¤¾£n ÝT € receiver@recevier.com þ9 4 receiver@recevier.com å_ : $ 9 9 þ @: q: ÿ9 M= )/í…‡ûOÙ<»Ÿ• ß_ ÿ_ Þ_ ý_ ö_ $ ýY Œ 5 G <04C4FA896822A14B8E510A4EC72FB25C010005989E@server.sender.com> – <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Test <o:p></o:p></p></div></body></html> B P r o f e s s i o n a l e R sender@sender.com d
S M T P A Ž +¤¾£n ÝT €P r o f e s s i o n a l S M T P sender@sender.com P r o f e s s i o n a l R sender@sender.com
S M T P Ž +¤¾£n ÝT €P r o f e s s i o n a l S M T P sender@sender.com ø? P r o f e s s i o n a l ù? Ž +¤¾£n ÝT €P r o f e s s i o n a l S M T P sender@sender.com ] R sender@sender.com å_ @: ] R sender@sender.com #@ R sender@sender.com "@
S M T P ] R sender@sender.com I P M . N o t e # & ) 6 @ 9 |«ÔqÁÑ p t e s t 3 q ÑÁqÓsI>’CœHA¤°Jèô‘ž 5 Ž < 0 4 C 4 F A 8 9 6 8 2 2 A 1 4 B 8 E 5 1 0 A 4 E C 7 2 F B 2 5 C 0 1 0 0 0 5 9 8 9 E @ server.sender.com > €ÿÿÿÿ@ 0‚ÈþÏqÁÑ@ 0|«ÔqÁÑ0 ¢dCMÆD³V†ˆhí“ Þ?ŸN ñ? ú? P r o f e s s i o n a l û? € ܧ@ÈÀB´¹ +/á‚ /O=EXCHANGE/OU=EXCHANGE ADMINISTRATIVE GROUP (FYDIBOHF23SPDLT)/CN=RECIPIENTS/CN=receiver97F5CFA0 ý?ä Y Y ãe Äú‰h"¡KŽQ
NÇ/²\ ˜¡ € À F … € À F … € À F … € À F … € À F … € À F … € À F ‚…
4ý? 4 T”¡À)¥‡ +*% 7 t e s t 3 = òª
Sorry, they must've changed the output of that first command between Exchange 2010 and 2013. Could you rerun with:
The log doesn't seem to mention anything about rules, which is strange. Do any of the logs contain a line beginning "X-MS-Exchange-Forest-Rule sExecuted" or "X-MS-Exchange-Organizatio n-Rules-Ex ecution-Hi story"? If so, could you post the contents?
You didn't mention whether there's anything different or unique about your setup.
Get-TransportPipeline | fl
The log doesn't seem to mention anything about rules, which is strange. Do any of the logs contain a line beginning "X-MS-Exchange-Forest-Rule
You didn't mention whether there's anything different or unique about your setup.
ASKER
Nothing different or unique about the setup.
[PS] C:\Windows\system32>Get-TransportPipeline | fl
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnConnectEvent
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnHeloCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnEhloCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnAuthCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnEndOfAuthentication
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnMailCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnRcptCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnDataCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnEndOfHeaders
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnEndOfData
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnHelpCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnNoopCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnReject
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnRsetCommand
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnDisconnectEvent
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnSubmittedMessage
TransportAgents : {Text Messaging Routing Agent}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnResolvedMessage
TransportAgents : {}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnRoutedMessage
TransportAgents : {Transport Rule Agent}
Identity :
IsValid : True
RunspaceId : 10a02831-f422-428d-8393-4fe8547be0e4
Event : OnCategorizedMessage
TransportAgents : {}
Identity :
IsValid : True
[PS] C:\Windows\system32>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ah ok. That makes sense. I will remove the test rule I created yesterday and readd with -Organization and then retest.
ASKER
OK. Getting somewhere now!
Using your Header test:
Sent test email and in the header:
So that now works.
Created new Transport Rule:
Damn!! Thought you nailed it with the -Organization switch.
Using your Header test:
New-TransportRule -Name Test -SetHeaderName TransportRuleTest -SetHeaderValue Passed -Organization XXX
Sent test email and in the header:
transportruletest: Passed
So that now works.
Created new Transport Rule:
new-transportrule -Name XXX_PROF_BCCmagoutbound -Organization XXX-From sender@sender.com -BlindCopyTo manager@sender.com
Waited a few minutes and sent test email. Test email come through to external recepient but was not BBC to manager@sender.comDamn!! Thought you nailed it with the -Organization switch.
ASKER
That's strange. Can you post the results of get-transportrule | fl?
Have you tried get-transportrule -organization XXX?
Have you tried get-transportrule -organization XXX?
ASKER
Chris
Your're a genius!! adding the -organization swtich did the trick!!
Thank you so much.
Cheers
Mark
Your're a genius!! adding the -organization swtich did the trick!!
Thank you so much.
Cheers
Mark
Awesome, great news!
Glad I could help.
Glad I could help.