# Generate a Message Trace
# Add sender/domain to Anti-Spam inbound policy
Microsoft Defender -> Policies & Rules -> Threat Policies -> Anti-spam policies -> Anti-spam inbound policy (Default) -> Allowed and blocked senders and domains
[Create safe sender lists | Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/create-safe-sender-lists-in-office-365?view=o365-worldwide)
[Allow or block email using the Tenant Allow/Block List | Microsoft Learn](https://learn.microsoft.com/en-us/microsoft-365/security/office-365-security/tenant-allow-block-list-email-spoof-configure?view=o365-worldwide#create-allow-entries-for-domains-and-email-addresses)