en-US

AddXHeaderValue

Parameter of HostedContentFilterPolicy

Applies to : Exchange Online, Built-in security add-on for on-premises mailboxes

Description

The AddXHeaderValue parameter specifies the X-header name (not value) to add to spam messages when a spam filtering verdict parameter is set to the value AddXHeader. The following spam filtering verdict parameters can use the AddXHeader action:

  • BulkSpamAction
  • HighConfidenceSpamAction
  • PhishSpamAction
  • SpamAction

The maximum length is 255 characters, and the value can't contain spaces or colons (:).

For example, if you enter the value This-is-my-custom-header, the X-header that's added to the message is This-is-my-custom-header: This message appears to be spam.

If you enter a value that contains spaces or colons (:), the value is ignored, and the default X-header is added to the message (X-This-Is-Spam: This message appears to be spam.).

This setting is independent of the AddXHeader value of the TestModeAction parameter.

Microsoft Learn documentation

Characteristics

Type
String
Parameter sets
(All)

Apply

Enter the name of the policy to change.