Return to site

Send Message To Ip Address Range

broken image
Send Message To Ip Address Range

Conditions and exceptions in mail flow rules (also known as transport rules) identify the messages that the rule is applied to or not applied to. For example, if the rule adds a disclaimer to messages, you can configure the rule to only apply to messages that contain specific words, messages sent by specific users, or to all messages except those sent by the members of a specific distribution group. Collectively, the conditions and exceptions in mail flow rules are also known as predicates, because for every condition, there's a corresponding exception that uses the exact same settings and syntax. The only difference is conditions specify messages to include, while exceptions specify messages to exclude.

Most conditions and exceptions have one property that requires one or more values. For example, the The sender is condition requires the sender of the message. Some conditions have two properties. For example, the A message header includes any of these words condition requires one property to specify the message header field, and a second property to specify the text to look for in the header field. Some conditions or exceptions don't have any properties. For example, the Any attachment has executable content condition simply looks for attachments in messages that have executable content.

There is specifically not an easy way to do this. If you could send a message to a computer by just knowing an IP address, wouldn't every advertiser and spammer on the planet want to do this and do it often? Jul 21, 2020. IP address range: For example, 192.168.0.1-192.168.0.254. Classless InterDomain Routing (CIDR) IP address range: For example, 192.168.0.1/25. In Exchange Online PowerShell, you can specify multiple IP addresses or ranges separated by commas. ManagementRelationship: Single value of Manager or Direct report (DirectReport). If one computer knows another's IP but not its MAC and needs to send data, it will send a command called to MAC addresses FF-FF-FF-FF-FF-FF to which the other computer replies subnet mask the IP numbering system must use a to give each computer on the network a way to recognize if a packet is for the LAN or WAN.

For more information about mail flow rules in Exchange Online, including how multiple conditions/exceptions or multi-valued conditions/exceptions are handled, see Mail flow rules (transport rules) in Exchange Online.

Conditions and exceptions for mail flow rules in Exchange Online

The tables in the following sections describe the conditions and exceptions that are available in mail flow rules in Exchange Online. The property types are described in the Property types section.

Address

Conditions and exceptions in mail flow rules (also known as transport rules) identify the messages that the rule is applied to or not applied to. For example, if the rule adds a disclaimer to messages, you can configure the rule to only apply to messages that contain specific words, messages sent by specific users, or to all messages except those sent by the members of a specific distribution group. Collectively, the conditions and exceptions in mail flow rules are also known as predicates, because for every condition, there's a corresponding exception that uses the exact same settings and syntax. The only difference is conditions specify messages to include, while exceptions specify messages to exclude.

Most conditions and exceptions have one property that requires one or more values. For example, the The sender is condition requires the sender of the message. Some conditions have two properties. For example, the A message header includes any of these words condition requires one property to specify the message header field, and a second property to specify the text to look for in the header field. Some conditions or exceptions don't have any properties. For example, the Any attachment has executable content condition simply looks for attachments in messages that have executable content.

There is specifically not an easy way to do this. If you could send a message to a computer by just knowing an IP address, wouldn't every advertiser and spammer on the planet want to do this and do it often? Jul 21, 2020. IP address range: For example, 192.168.0.1-192.168.0.254. Classless InterDomain Routing (CIDR) IP address range: For example, 192.168.0.1/25. In Exchange Online PowerShell, you can specify multiple IP addresses or ranges separated by commas. ManagementRelationship: Single value of Manager or Direct report (DirectReport). If one computer knows another's IP but not its MAC and needs to send data, it will send a command called to MAC addresses FF-FF-FF-FF-FF-FF to which the other computer replies subnet mask the IP numbering system must use a to give each computer on the network a way to recognize if a packet is for the LAN or WAN.

For more information about mail flow rules in Exchange Online, including how multiple conditions/exceptions or multi-valued conditions/exceptions are handled, see Mail flow rules (transport rules) in Exchange Online.

Conditions and exceptions for mail flow rules in Exchange Online

The tables in the following sections describe the conditions and exceptions that are available in mail flow rules in Exchange Online. The property types are described in the Property types section.

Notes:

  • After you select a condition or exception in the Exchange admin center (EAC), the value that's ultimately shown in the Apply this rule if or Except if Free horse racing games no download. field is often different (shorter) than the click path value you selected. Also, when you create new rules based on a template (a filtered list of scenarios), you can often select a short condition name instead of following the complete click path. The short names and full click path values are shown in the EAC column in the tables.

  • If you select [Apply to all messages] in the EAC, you can't specify any other conditions. The equivalent in Exchange Online PowerShell is to create a rule without specifying any condition parameters.

  • The settings and properties are the same in conditions and exceptions, so the output of the Get-TransportRulePredicate cmdlet doesn't list exceptions separately. Wordweb pro 3 0 – comprehensive thesaurus and dictionary. Also, the names of some of the predicates that are returned by this cmdlet are different than the corresponding parameter names, and a predicate might require multiple parameters.

Senders

For conditions and exceptions that examine the sender's address, you can specify where rule looks for the sender's address.

In the EAC, in the Properties of this rule section, click Match sender address in message. Note that you might need to click More options to see this setting. In Exchange Online PowerShell, the parameter is SenderAddressLocation. The available values are:

  • Header: Only examine senders in the message headers (for example, the From, Sender, or Reply-To fields). This is the default value.

  • Envelope: Only examine senders from the message envelope (the MAIL FROM value that was used in the SMTP transmission, which is typically stored in the Return-Path field). Note that message envelope searching is only available for the following conditions (and the corresponding exceptions):

    • The sender is(From)

    • The sender is a member of(FromMemberOf)

    • The sender address includes(FromAddressContainsWords)

    • The sender address matches(FromAddressMatchesPatterns)

    • The sender's domain is(SenderDomainIs)

  • Header or envelope ( HeaderOrEnvelope) Examine senders in the message header and the message envelope.

Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
The sender is
The sender > is this person
From
ExceptIfFrom
AddressesMessages that are sent by the specified mailboxes, mail users, mail contacts, or Microsoft 365 groups in the organization.
For more information about using Microsoft 365 groups with this condition, see the Addresses entry in the Property types section.
The sender is located
The sender > is external/internal
FromScope
ExceptIfFromScope
UserScopeFromMessages that are sent by either internal senders or external senders.
The sender is a member of
The sender > is a member of this group
FromMemberOf
ExceptIfFromMemberOf
AddressesMessages that are sent by a member of the specified distribution group, mail-enabled security group, or Microsoft 365 group.
For more information about using Microsoft 365 groups with this condition, see the Addresses entry in the Property types section.
The sender address includes
The sender > address includes any of these words
FromAddressContainsWords
ExceptIfFromAddressContainsWords
WordsMessages that contain the specified words in the sender's email address.
The sender address matches
The sender > address matches any of these text patterns
FromAddressMatchesPatterns
ExceptIfFromAddressMatchesPatterns
PatternsMessages where the sender's email address contains text patterns that match the specified regular expressions.
The sender is on a recipient's list
The sender > is on a recipient's supervision list
SenderInRecipientList
ExceptIfSenderInRecipientList
SupervisionListMessages where the sender is on the recipient's Allow list or Block list.
The sender's specified properties include any of these words
The sender > has specific properties including any of these words
SenderADAttributeContainsWords
ExceptIfSenderADAttributeContainsWords
First property: ADAttribute
Second property: Words
Messages where the specified Active Directory attribute of the sender contains any of the specified words.
Note that the Country attribute requires the two-letter country code value (for example, DE for Germany).
The sender's specified properties match these text patterns
The sender > has specific properties matching these text patterns
SenderADAttributeMatchesPatterns
ExceptIfSenderADAttributeMatchesPatterns
First property: ADAttribute
Second property: Patterns
Messages where the specified Active Directory attribute of the sender contains text patterns that match the specified regular expressions.
The sender has overridden the Policy Tip
The sender > has overridden the Policy Tip
HasSenderOverride
ExceptIfHasSenderOverride
n/aMessages where the sender has chosen to override a data loss prevention (DLP) policy. For more information about DLP policies, see Data loss prevention.
Note: This condition/exception isn't available in standalone Exchange Online Protection (EOP) environments.
Sender's IP address is in the range
The sender > IP address is in any of these ranges or exactly matches
SenderIPRanges
ExceptIfSenderIPRanges
IPAddressRangesMessages where the sender's IP address matches the specified IP address, or falls within the specified IP address range.
The sender's domain is
The sender > domain is
SenderDomainIs
ExceptIfSenderDomainIs
DomainNameMessages where the domain of the sender's email address matches the specified value.
If you need to find sender domains that contain the specified domain (for example, any subdomain of a domain), use The sender address matches(FromAddressMatchesPatterns) condition and specify the domain by using the syntax: '.domain.com$'.
Recipients How To Send Ip Address
Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
The recipient is
The recipient > is this person
SentTo
ExceptIfSentTo
AddressesMessages where one of the recipients is the specified mailbox, mail user, or mail contact in the organization. The recipients can be in the To, Cc, or Bcc fields of the message.
Note: You can't specify distribution groups, mail-enabled security groups, or Microsoft 365 groups. If you need to take action on messages that are sent to a group, use the To box contains(AnyOfToHeader) condition instead.
The recipient is located
The recipient > is external/external
SentToScope
ExceptIfSentToScope
UserScopeToMessages that are sent to internal or external recipients.
The recipient is a member of
The recipient > is a member of this group
SentToMemberOf
ExceptIfSentToMemberOf
AddressesMessages that contain recipients who are members of the specified distribution group, mail-enabled security group, or Microsoft 365 group. The group can be in the To, Cc, or Bcc fields of the message.
For more information about using Microsoft 365 groups with this condition, see the Addresses entry in the Property types section.
The recipient address includes
The recipient > address includes any of these words
RecipientAddressContainsWords
ExceptIfRecipientAddressContainsWords
WordsMessages that contain the specified words in the recipient's email address.
Note: This condition doesn't consider messages that are sent to recipient proxy addresses. It only matches messages that are sent to the recipient's primary email address.
The recipient address matches
The recipient > address matches any of these text patterns
RecipientAddressMatchesPatterns
ExceptIfRecipientAddressMatchesPatterns
PatternsMessages where a recipient's email address contains text patterns that match the specified regular expressions.
Note: This condition doesn't consider messages that are sent to recipient proxy addresses. It only matches messages that are sent to the recipient's primary email address.
The recipient is on the sender's list
The recipient > is on the sender's supervision list
RecipientInSenderList
ExceptIfRecipientInSenderList
SupervisionListMessages where the recipient is on the sender's Allow list or Block list.
The recipient's specified properties include any of these words
The recipient > has specific properties including any of these words
RecipientADAttributeContainsWords
ExceptIfRecipientADAttributeContainsWords
First property: ADAttribute
Second property: Words
Messages where the specified Active Directory attribute of a recipient contains any of the specified words.
Note that the Country attribute requires the two-letter country code value (for example, DE for Germany).
The recipient's specified properties match these text patterns
The recipient > has specific properties matching these text patterns
RecipientADAttributeMatchesPatterns
ExceptIfRecipientADAttributeMatchesPatterns
First property: ADAttribute
Second property: Patterns
Messages where the specified Active Directory attribute of a recipient contains text patterns that match the specified regular expressions.
A recipient's domain is
The recipient > domain is
RecipientDomainIs
ExceptIfRecipientDomainIs
DomainNameMessages where the domain of a recipient's email address matches the specified value.
If you need to find recipient domains that contain the specified domain (for example, any subdomain of a domain), use The recipient address matches (RecipientAddressMatchesPatterns) condition, and specify the domain by using the syntax '.domain.com$'.
Message subject or body

Note

The search for words or text patterns in the subject or other header fields in the message occurs after the message has been decoded from the MIME content transfer encoding method that was used to transmit the binary message between SMTP servers in ASCII text. You can't use conditions or exceptions to search for the raw (typically, Base64) encoded values of the subject or other header fields in messages.

Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
The subject or body includes
The subject or body > subject or body includes any of these words
SubjectOrBodyContainsWords
ExceptIfSubjectOrBodyContainsWords
WordsMessages that have the specified words in the Subject field or message body.
The subject or body matches
The subject or body > subject or body matches these text patterns
SubjectOrBodyMatchesPatterns
ExceptIfSubjectOrBodyMatchesPatterns
PatternsMessages where the Subject field or message body contain text patterns that match the specified regular expressions.
The subject includes
The subject or body > subject includes any of these words
SubjectContainsWords
ExceptIfSubjectContainsWords
WordsMessages that have the specified words in the Subject field.
The subject matches
The subject or body > subject matches these text patterns
SubjectMatchesPatterns
ExceptIfSubjectMatchesPatterns
PatternsMessages where the Subject field contains text patterns that match the specified regular expressions.
Attachments

What external hard drive is best for mac. For more information about how mail flow rules inspect message attachments, see Use mail flow rules to inspect message attachments in Exchange Online.

Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
Any attachment's content includes
Any attachment > content includes any of these words
AttachmentContainsWords
ExceptIfAttachmentContainsWords
WordsMessages where an attachment contains the specified words.
Any attachments content matches
Any attachment > content matches these text patterns
AttachmentMatchesPatterns
ExceptIfAttachmentMatchesPatterns
PatternsMessages where an attachment contains text patterns that match the specified regular expressions.
Note: Only the first 150 kilobytes (KB) of the attachments are scanned.
Any attachment's content can't be inspected
Any attachment > content can't be inspected
AttachmentIsUnsupported
ExceptIfAttachmentIsUnsupported
n/aMessages where an attachment isn't natively recognized by Exchange Online.
Any attachment's file name matches
Any attachment > file name matches these text patterns
AttachmentNameMatchesPatterns
ExceptIfAttachmentNameMatchesPatterns
PatternsMessages where an attachment's file name contains text patterns that match the specified regular expressions.
Any attachment's file extension matches
Any attachment > file extension includes these words
AttachmentExtensionMatchesWords
ExceptIfAttachmentExtensionMatchesWords
WordsMessages where an attachment's file extension matches any of the specified words.
Any attachment is greater than or equal to
Any attachment > size is greater than or equal to
AttachmentSizeOver
ExceptIfAttachmentSizeOver
SizeMessages where any attachment is greater than or equal to the specified value.
In the EAC, you can only specify the size in kilobytes (KB).
The message didn't complete scanning
Any attachment > didn't complete scanning
AttachmentProcessingLimitExceeded
ExceptIfAttachmentProcessingLimitExceeded
n/aMessages where the rules engine couldn't complete the scanning of the attachments. You can use this condition to create rules that work together to identify and process messages where the content couldn't be fully scanned.
Any attachment has executable content
Any attachment > has executable content
AttachmentHasExecutableContent
ExceptIfAttachmentHasExecutableContent
n/aMessages where an attachment is an executable file. The system inspects the file's properties rather than relying on the file's extension.
Any attachment is password protected
Any attachment > is password protected
AttachmentIsPasswordProtected
ExceptIfAttachmentIsPasswordProtected
n/aMessages where an attachment is password protected (and therefore can't be scanned). Password detection only works for Office documents and .zip files.
has these properties, including any of these words
Any attachment > has these properties, including any of these words
AttachmentPropertyContainsWords
ExceptIfAttachmentPropertyContainsWords
First property: DocumentProperties
Second property: Words
Messages where the specified property of an attached Office document contains the specified words.
This condition helps you integrate mail flow rules with SharePoint, File Classification Infrastructure (FCI) in Windows Server 2012 R2 or later, or a third-party classification system.
You can select from a list of built-in properties, or specify a custom property.
Any recipients

The conditions and exceptions in this section provide a unique capability that affects all recipients when the message contains at least one of the specified recipients. For example, let's say you have a rule that rejects messages. If you use a recipient condition from the Recipients section, the message is only rejected for those specified recipients. For example, if the rule finds the specified recipient in a message, but the message contains five other recipients. The message is rejected for that one recipient, and is delivered to the five other recipients.

If you add a recipient condition from this section, that same message is rejected for the detected recipient and the five other recipients. Mcneill dysphagia therapy program protocol free software.

Conversely, a recipient exception from this section prevents the rule action from being applied to all recipients of the message, not just for the detected recipients.

Note: This condition doesn't consider messages that are sent to recipient proxy addresses. It only matches messages that are sent to the recipient's primary email address.

Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
Any recipient address includes
Any recipient > address includes any of these words
AnyOfRecipientAddressContainsWords
ExceptIfAnyOfRecipientAddressContainsWords
WordsMessages that contain the specified words in the To, Cc, or Bcc fields of the message.
Any recipient address matches
Any recipient > address matches any of these text patterns
AnyOfRecipientAddressMatchesPatterns
ExceptIfAnyOfRecipientAddressMatchesPatterns
PatternsMessages where the To, Cc, or Bcc fields contain text patterns that match the specified regular expressions.
Message sensitive information types, To and Cc values, size, and character sets

The conditions in this section that look for values in the To and Cc fields behave like the conditions in the Any recipients section (all recipients of the message are affected by the rule, not just the detected recipients).

Notes:

  • The recipient conditions in this section do not consider messages that are sent to recipient proxy addresses. They only match messages that are sent to the recipient's primary email address.

  • For more information about using Microsoft 365 groups with the recipient conditions in this section, see the Addresses entry in the Property types section.

Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
The message contains sensitive information
The message > contains any of these types of sensitive information
MessageContainsDataClassifications
ExceptIfMessageContainsDataClassifications
SensitiveInformationTypesMessages that contain sensitive information as defined by data loss prevention (DLP) policies.
This condition is required for rules that use the Notify the sender with a Policy Tip (NotifySender) action.
Note: This condition/exception isn't available in standalone Exchange Online Protection (EOP) environments.
The To box contains
The message > To box contains this person
AnyOfToHeader
ExceptIfAnyOfToHeader
AddressesMessages where the To field includes any of the specified recipients.
The To box contains a member of
The message > To box contains a member of this group
AnyOfToHeaderMemberOf
ExceptIfAnyOfToHeaderMemberOf
AddressesMessages where the To field contains a recipient who is a member of the specified distribution group, mail-enabled security group, or Microsoft 365 group.
The Cc box contains
The message > Cc box contains this person
AnyOfCcHeader
ExceptIfAnyOfCcHeader
AddressesMessages where the Cc field includes any of the specified recipients.
The Cc box contains a member of
The message > contains a member of this group
AnyOfCcHeaderMemberOf
ExceptIfAnyOfCcHeaderMemberOf
AddressesMessages where the Cc field contains a recipient who is a member of the specified distribution group or mail-enabled security group.
The To or Cc box contains
The message > To or Cc box contains this person
AnyOfToCcHeader
ExceptIfAnyOfToCcHeader
AddressesMessages where the To or Cc fields contain any of the specified recipients.
The To or Cc box contains a member of
The message > To or Cc box contains a member of this group
AnyOfToCcHeaderMemberOf
ExceptIfAnyOfToCcHeaderMemberOf
AddressesMessages where the To or Cc fields contain a recipient who is a member of the specified distribution group or mail-enabled security group.
The message size is greater than or equal to
The message > size is greater than or equal to
MessageSizeOver
ExceptIfMessageSizeOver
SizeMessages where the total size (message plus attachments) is greater than or equal to the specified value.
In the EAC, you can only specify the size in kilobytes (KB).
Note: Message size limits on mailboxes are evaluated before mail flow rules. A message that's too large for a mailbox will be rejected before a rule with this condition is able to act on the message.
The message character set name includes any of these words
The message > character set name includes any of these words
ContentCharacterSetContainsWords
ExceptIfContentCharacterSetContainsWords
CharacterSetsMessages that have any of the specified character set names.
Sender and recipient
Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
The sender is one of the recipient's
The sender and the recipient > the sender's relationship to a recipient is
SenderManagementRelationship
ExceptIfSenderManagementRelationship
ManagementRelationshipMessages where the either sender is the manager of a recipient, or the sender is managed by a recipient.
The message is between members of these groups
The sender and the recipient > the message is between members of these groups
BetweenMemberOf1 and BetweenMemberOf2
ExceptIfBetweenMemberOf1 and ExceptIfBetweenMemberOf2
AddressesMessages that are sent between members of the specified distribution groups or mail-enabled security groups.
For more information about using Microsoft 365 groups with this condition, see the Addresses entry in the Property types section.
The manager of the sender or recipient is
The sender and the recipient > the manager of the sender or recipient is this person
ManagerForEvaluatedUser and ManagerAddress
ExceptIfManagerForEvaluatedUser and ExceptIfManagerAddress
First property: EvaluatedUser
Second property: Addresses
Messages where either a specified user is the manager of the sender, or a specified user is the manager of a recipient.
The sender's and any recipient's property compares as
The sender and the recipient > the sender and recipient property compares as
ADAttributeComparisonAttribute and ADComparisonOperator
ExceptIfADAttributeComparisonAttribute and ExceptIfADComparisonOperator
First property: ADAttribute
Second property: Evaluation
Messages where the specified Active Directory attribute for the sender and recipient either match or don't match.
Message properties Send Message To Ip Address Range By Country
Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
The message type is
The message properties > include the message type
MessageTypeMatches
ExceptIfMessageTypeMatches
MessageTypeMessages of the specified type.
Note: When Outlook or Outlook on the web (formerly known as Outlook Web App) is configured to forward a message, the ForwardingSmtpAddress property is added to the message. The message type isn't changed to AutoForward.
The message is classified as
The message properties > include this classification
HasClassification
ExceptIfHasClassification
MessageClassificationMessages that have the specified message classification. This is a custom message classification that you can create in your organization by using the New-MessageClassification cmdlet.
Note: This condition/exception isn't available in standalone Exchange Online Protection (EOP) environments.
The message isn't marked with any classifications
The message properties > don't include any classification
HasNoClassification
ExceptIfHasNoClassification
n/aMessages that don't have a message classification.
Note: This condition/exception isn't available in standalone Exchange Online Protection (EOP) environments.
The message importance is set to
The message properties > include the importance level
WithImportance
ExceptIfWithImportance
ImportanceMessages that are marked with the specified Importance level.
Message headers

Note

The search for words or text patterns in the subject or other header fields in the message occurs after the message has been decoded from the MIME content transfer encoding method that was used to transmit the binary message between SMTP servers in ASCII text. You can't use conditions or exceptions to search for the raw (typically, Base64) encoded values of the subject or other header fields in messages.

Send Message To Ip Address Range Class
Condition or exception in the EACCondition and exception parameters in Exchange Online PowerShellProperty typeDescription
A message header includes
A message header > includes any of these words
HeaderContainsMessageHeader and HeaderContainsWords
ExceptIfHeaderContainsMessageHeader and ExceptIfHeaderContainsWords
First property: MessageHeaderField
Second property: Words
Messages that contain the specified header field, and the value of that header field contains the specified words.
The name of the header field and the value of the header field are always used together.
A message header matches
A message header > matches these text patterns
HeaderMatchesMessageHeader and HeaderMatchesPatterns
ExceptIfHeaderMatchesMessageHeader and ExceptIfHeaderMatchesPatterns
First property: MessageHeaderField
Second property: Patterns
Messages that contain the specified header field, and the value of that header field contains the specified regular expressions.
The name of the header field and the value of the header field are always used together.
Property types

The property types that are used in conditions and exceptions are described in the following table.

Note

Send Ip Message

If the property is a string, trailing spaces are not allowed.

Send Message To Ip Address Range Chart
Property typeValid valuesDescription
ADAttributeSelect from a predefined list of Active Directory attributesYou can check against any of the following Active Directory attributes:
City
Company
Country
CustomAttribute1 - CustomAttribute15
Department
DisplayName
Email
FaxNumber
FirstName
HomePhoneNumber
Initials
LastName
Manager
MobileNumber
Notes
Office
OtherFaxNumber
OtherHomePhoneNumber
OtherPhoneNumber
PagerNumber
PhoneNumber
POBox
State
Street
Title
UserLogonName
ZipCode
In the EAC, to specify multiple words or text patterns for the same attribute, separate the values with commas. For example, the value San Francisco,Palo Alto for the City attribute looks for 'City equals San Francisco' or City equals Palo Alto'.
In Exchange Online PowerShell, use the syntax 'AttributeName1:Value1,Value 2 with spaces,Value3..','AttributeName2:Word4,Value 5 with spaces,Value6..', where Value is the word or text pattern that you want to match. For example, 'City:San Francisco,Palo Alto' or 'City:San Francisco,Palo Alto', 'Department:Sales,Finance'.
When you specify multiple attributes, or multiple values for the same attribute, the or operator is used. Don't use values with leading or trailing spaces.
Note that the Country attribute requires the two-letter ISO 3166-1 country code value (for example, DE for Germany). For more information, see Country Codes - ISO 3166.
AddressesExchange Online recipientsDepending on the nature of the condition or exception, you might be able to specify any mail-enabled object in the organization (for example, recipient-related conditions), or you might be limited to a specific object type (for example, groups for group membership conditions). And, the condition or exception might require one value, or allow multiple values.
In Exchange Online PowerShell, separate multiple values by commas.
This condition doesn't consider messages that are sent to recipient proxy addresses. It only matches messages that are sent to the recipient's primary email address.
The recipient picker in the EAC doesn't allow you to select Microsoft 365 groups from the list of recipients. But, you can enter the email address of a Microsoft 365 group in the box next to Check names, and then validate the email address by clicking Check names, which will add the group to the add box.
CharacterSetsArray of character set namesOne or more content character sets that exist in a message. For example: Arabic/iso-8859-6
Chinese/big5
Chinese/euc-cn
Chinese/euc-tw
Chinese/gb2312
Chinese/iso-2022-cn
Cyrillic/iso-8859-5
Cyrillic/koi8-r
Cyrillic/windows-1251
Greek/iso-8859-7
Hebrew/iso-8859-8
Japanese/euc-jp
Japanese/iso-022-jp
Japanese/shift-jis
Korean/euc-kr
Korean/johab
Korean/ks_c_5601-1987
Turkish/windows-1254
Turkish/iso-8859-9
Vietnamese/tcvn
DomainNameArray of SMTP domainsFor example, contoso.com or eu.contoso.com.
In Exchange Online PowerShell, you can specify multiple domains separated by commas.
EvaluatedUserSingle value of Sender or RecipientSpecifies whether the rule is looking for the manager of the sender or the manager of the recipient.
EvaluationSingle value of Equal or Not equal (NotEqual)When comparing the Active Directory attribute of the sender and recipients, this specifies whether the values should match, or not match.
ImportanceSingle value of Low, Normal, or HighThe Importance level that was assigned to the message by the sender in Outlook or Outlook on the web.
IPAddressRangesArray of IP addresses or address rangesYou enter the IPv4 addresses using the following syntax:
Single IP address: For example, 192.168.1.1.
IP address range: For example, 192.168.0.1-192.168.0.254.
Classless InterDomain Routing (CIDR) IP address range: For example, 192.168.0.1/25.
In Exchange Online PowerShell, you can specify multiple IP addresses or ranges separated by commas.
ManagementRelationshipSingle value of Manager or Direct report (DirectReport)Specifies the relationship between the sender and any of the recipients. The rule checks the Manager attribute in Active Directory to see if the sender is the manager of a recipient, or if the sender is managed by a recipient.
MessageClassificationSingle message classificationIn the EAC, you select from the list of message classifications that you've created.
In Exchange Online PowerShell, you use the Get-MessageClassification cmdlet to identify the message classification. For example, use the following command to search for messages with the Company Internal classification and prepend the message subject with the value CompanyInternal: New-TransportRule 'Rule Name' -HasClassification @(Get-MessageClassification 'Company Internal').Identity -PrependSubject 'CompanyInternal'
MessageHeaderFieldSingle stringSpecifies the name of the header field. The name of the header field is always paired with the value in the header field (word or text pattern match).The message header is a collection of required and optional header fields in the message. Examples of header fields are To, From, Received, and Content-Type. Official header fields are defined in RFC 5322. Unofficial header fields start with X- and are known as X-headers.
MessageTypeSingle message type valueSpecifies one of the following message types:
Automatic reply (OOF)
Auto-forward (AutoForward)
Encrypted
Calendaring
Permission controlled (PermissionControlled)
Voicemail
Signed
Approval request (ApprovalRequest)
Read receipt (ReadReceipt)
Note: When Outlook or Outlook on the web is configured to forward a message, the ForwardingSmtpAddress property is added to the message. The message type isn't changed to AutoForward.
PatternsArray of regular expressionsSpecifies one or more regular expressions that are used to identify text patterns in values. For more information, see Regular Expression Syntax.
In Exchange Online PowerShell, you specify multiple regular expressions separated by commas, and you enclose each regular expression in quotation marks (').
SCLValueOne of the following values:
Bypass spam filtering (-1)
• Integers 0 through 9
Specifies the spam confidence level (SCL) that's assigned to a message. A higher SCL value indicates that a message is more likely to be spam.
SensitiveInformationTypesArray of sensitive information typesSpecifies one or more sensitive information types that are defined in your organization. For a list of built-in sensitive information types, see Sensitive information types in Exchange Server.
In Exchange Online PowerShell, use the syntax @{},@{},... For example, to look for content that contains at least two credit card numbers, and at least one ABA routing number, use the value @{Name='Credit Card Number'; minCount='2'},@{Name='ABA Routing Number'; minCount='1'}.
SizeSingle size valueSpecifies the size of an attachment or the whole message.
In the EAC, you can only specify the size in kilobytes (KB).
In Exchange Online PowerShell, when you enter a value, qualify the value with one of the following units:
B (bytes)
KB (kilobytes)
MB (megabytes)
GB (gigabytes)
For example, 20 MB. Unqualified values are typically treated as bytes, but small values may be rounded up to the nearest kilobyte.
SupervisionListSingle value of Allow or BlockSupervision policies were a feature in Live@edu that allowed you to control who could send mail to and receive mail from users in your organization (for example, the closed campus and anti-bullying policies). In Microsoft 365 and Office 365, you can't configure supervision list entries on mailboxes.
UserScopeFromSingle value of Inside the organization (InOrganization) or Outside the organization (NotInOrganization)A sender is considered to be inside the organization if either of the following conditions is true:
• The sender is a mailbox, mail user, group, or mail-enabled public folder that exists inside the organization.
• The sender's email address is in an accepted domain that's configured as an authoritative domain or an internal relay domain, and the message was sent or received over an authenticated connection. For more information about accepted domains, see Manage accepted domains in Exchange Online.
A sender is considered to be outside the organization if either of the following conditions is true:
• The sender's email address isn't in an accepted domain.
• The sender's email address is in an accepted domain that's configured as an external relay domain.
Note: To determine whether mail contacts are considered to be inside or outside the organization, the sender's address is compared with the organization's accepted domains.
UserScopeToOne of the following values:
Inside the organization (InOrganization)
Outside the organization (NotInOrganization)
A recipient is considered to be inside the organization if either of the following conditions is true:
• The recipient is a mailbox, mail user, group, or mail-enabled public folder that exists inside the organization.
• The recipient's email address is in an accepted domain that's configured as an authoritative domain or an internal relay domain, and the message was sent or received over an authenticated connection.
A recipient is considered to be outside the organization if either of the following conditions is true:
• The recipient's email address isn't in an accepted domain.
• The recipient's email address is in an accepted domain that's configured as an external relay domain.
WordsArray of stringsSpecifies one or more words to look for. The words aren't case-sensitive, and can be surrounded by spaces and punctuation marks. Wildcards and partial matches aren't supported. For example, 'contoso' matches ' Contoso'.
However, if the text is surrounded by other characters, it isn't considered a match. For example, 'contoso' doesn't match the following values:
• Acontoso
• Contosoa
• Acontosob
The asterisk (*) is treated as a literal character, and isn't used as a wildcard character.
For more information



broken image