HostedOutboundSpamFilterPolicy
S’applique à : Exchange Online, Built-in security add-on for on-premises mailboxes
This cmdlet is available only in the cloud-based service.
Use the Set-HostedOutboundSpamFilterPolicy cmdlet to modify outbound spam filter policies in your cloud-based organization.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.
Cmdlets disponibles
Paramètres
| Nom | Type | Valeur par défaut | Valeurs acceptées |
|---|---|---|---|
| ActionWhenThresholdReached | OutboundRecipientLimitsExceededAction | Alert, BlockUserForToday, BlockUser | |
| AdminDisplayName | String | ||
| AutoForwardingMode | AutoForwardingMode | Automatic, Off, On | |
| BccSuspiciousOutboundAdditionalRecipients | MultiValuedProperty | ||
| BccSuspiciousOutboundMail | Boolean | ||
| NotifyOutboundSpam | Boolean | ||
| NotifyOutboundSpamRecipients | MultiValuedProperty | ||
| RecipientLimitExternalPerHour | UInt32 | ||
| RecipientLimitInternalPerHour | UInt32 | ||
| RecipientLimitPerDay | UInt32 |
Exemples
Example 1
Set-HostedOutboundSpamFilterPolicy -Identity Default -RecipientLimitExternalPerHour 500 -RecipientLimitInternalPerHour 1000 -RecipientLimitPerDay 1000 -ActionWhenThresholdReached BlockUser This example configures the following settings in the outbound spam filter policy named Default:
- The recipient rate limits are restricted to smaller values that the service defaults.
- After one of the limits is reached, the user is prevented from sending messages (added to the Restricted Users portal).