Skip to Content

Anti-Spam

Configure Exchange Online Protection spam filtering policies. Control how inbound spam is handled.

Spam Filter Settings

SettingOptions
Spam actionMove to Junk, Quarantine, Delete
High confidence spamQuarantine (recommended)
PhishingQuarantine (recommended)
Bulk email threshold1-9 (lower = more aggressive)
Spam safety tipsEnabled

Allow/Block Lists

  • Allowed senders — Bypass spam filtering for specific senders
  • Allowed domains — Bypass for entire domains
  • Blocked senders — Always mark as spam
  • Blocked domains — Always mark as spam

Outbound Spam

SettingDescription
External message limitMax external messages per hour
Internal message limitMax internal messages per hour
Daily limitMax total messages per day
Over-limit actionBlock user, alert admin

API Reference

  • GET /api/security/anti-spam/policies — List policies
  • PUT /api/security/anti-spam/policies/:id — Update policy
Last updated on