Disclaimer: This information is provided as-is for the benefit of the Community. Please contact Sophos Professional Services if you require assistance with your specific environment.
Table Of Contents:
Overview:
This Recommended read will show hot to export Allow Sender domain\email and Block Sender domain\email from the AntiSpam policy in 0365.
Product and Environment
Sophos Email
Configuration:
Step 1: Login to your Sophos Email from Sophos central
Step 2: Go to My Product > Email Protection>Click Mailboxes
Step 3: Click on Add > Click Import Mailboxes & Aliases
Step 4: Export the Allow Sender domain\email and Block Sender domain\email from the AntiSpam policy in 0365 using these PowerShell commands.
Get-HostedContentFilterPolicy | select -expandproperty blockedsenderdomains | export-csv block-domain.csv
Get-HostedContentFilterPolicy | select -expandproperty blockedsenders | export-csv blockuser.csv
Get-HostedContentFilterPolicy | select -expandproperty allowedsenderdomains | export-csv allowdomain.csv
Get-HostedContentFilterPolicy | select -expandproperty allowedsenders | export-csv alloweduser.csv
You may also refer to this MS KBA for the Powershell Commands: https://learn.microsoft.com/en-us/powershell/module/exchange/get-hostedcontentfilterpolicy?view=exchange-ps
Related Information:
Sophos Email Import Mailbox: https://docs.sophos.com/central/customer/help/en-us/ManageYourProducts/EmailSecurity/Mailboxes/AddMailboxes/AddMailboxImport/index.html
MS Powershell Commands: https://learn.microsoft.com/en-us/powershell/module/exchange/get-hostedcontentfilterpolicy?view=exchange-ps