en-US

SpamZapEnabled

Parameter of HostedContentFilterPolicy

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

Description

The SpamZapEnabled parameter enables or disables zero-hour auto purge (ZAP) to detect spam in already delivered messages in Exchange Online mailboxes. Valid values are:

  • $true: ZAP for spam is enabled. This value is the default. The result depends on the spam filtering verdict action for spam messages: MoveToJmf = Unread spam messages are moved to the Junk Email folder. Delete, Redirect, or Quarantine = Unread spam messages are quarantined. AddXHeader or ModifySubject = no action is taken on the message.
  • $false: ZAP for spam is disabled.

You configure ZAP for phishing messages with the PhishZapEnabled parameter.

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

Enter the name of the policy to change.