Tramite Exchange Management Shell (EMS) è possibile visualizzare le regole di posta in arrivo definite sulla casella utilizzando il cmdlet Get-InboxRule:
Get-InboxRule -Mailbox <casella_di_posta>
Al posto della casella di posta è possibile utilizzare l'Alias, Display Name, Dominio\account o Distinguished Name (DN)
ad es.
Get-InboxRule -Mailbox GLUBRANO
Get-InboxRule -Mailbox giovanni.lubrano@contoso.com
|
FIG 1 - Get-InboxRule |
Se vogliamo maggiori dettagli sulle regole possiamo utilizzare la Format List (fl)
Get-InboxRule -Mailbox <casella_di_posta> |fl
ad es.
Get-InboxRule -Mailbox GLUBRANO
e avremo un output dettagliato sulle regole del tipo mostrato di seguito
RunspaceId : 871f5e59-3e43-4f9d-8a6b-bd94ede79728
Description : If the message:
the message was received from 'TEST@contoso.com'
Take the following actions:
move the message to folder 'TEST'
and stop processing more rules on this message
Enabled : True
Identity : giovannilubrano.com/USERS/010/GLUBRANO\397942073027723265
InError : False
Name : TEST@contoso.com
Priority : 1
RuleIdentity : 397942073027723265
SupportedByTask : True
BodyContainsWords : {}
ExceptIfBodyContainsWords : {}
FlaggedForAction :
ExceptIfFlaggedForAction :
FromAddressContainsWords : {}
ExceptIfFromAddressContainsWords : {}
From : {"TEST@contoso.com" [SMTP:TEST@contoso.com]}
ExceptIfFrom :
HasAttachment : False
ExceptIfHasAttachment : False
HasClassification :
ExceptIfHasClassification :
HeaderContainsWords : {}
ExceptIfHeaderContainsWords : {}
FromSubscription :
ExceptIfFromSubscription :
MessageTypeMatches :
ExceptIfMessageTypeMatches :
MyNameInCcBox : False
ExceptIfMyNameInCcBox : False
MyNameInToBox : False
ExceptIfMyNameInToBox : False
MyNameInToOrCcBox : False
ExceptIfMyNameInToOrCcBox : False
MyNameNotInToBox : False
ExceptIfMyNameNotInToBox : False
ReceivedAfterDate :
ExceptIfReceivedAfterDate :
ReceivedBeforeDate :
ExceptIfReceivedBeforeDate :
RecipientAddressContainsWords : {}
ExceptIfRecipientAddressContainsWords : {}
SentOnlyToMe : False
ExceptIfSentOnlyToMe : False
SentTo :
ExceptIfSentTo :
SubjectContainsWords : {}
ExceptIfSubjectContainsWords : {}
SubjectOrBodyContainsWords : {}
ExceptIfSubjectOrBodyContainsWords : {}
WithImportance :
ExceptIfWithImportance :
WithinSizeRangeMaximum :
ExceptIfWithinSizeRangeMaximum :
WithinSizeRangeMinimum :
ExceptIfWithinSizeRangeMinimum :
WithSensitivity :
ExceptIfWithSensitivity :
ApplyCategory : {}
CopyToFolder :
DeleteMessage : False
ForwardAsAttachmentTo :
ForwardTo :
MarkAsRead : False
MarkImportance :
MoveToFolder : TEST
RedirectTo :
SendTextMessageNotificationTo : {}
StopProcessingRules : True
MailboxOwnerId : giovannilubrano.com/USERS/010/GLUBRANO
IsValid : True