KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
755 stars 4.41k forks source link

[Feature Request]: Disable -BccSuspiciousOutboundMailTo #2573

Closed AaronSEQ-IT closed 1 week ago

AaronSEQ-IT commented 1 week ago

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

We have some Clients that have the: "Send a copy of suspicious outbound messages or message that exceed these limits to these users and groups"

Set going to either an internal address or the previous IT provider. We would like to disable (optimally) or just remove any addresses here as to stop any SPAM being sent out or internally.

CIPP can currently disable the alert or change the address it doesn't seem like it can stop the forward of the SPAM mail.

Anti-SPAM

PowerShell commands you would normally use to achieve above request

Step 1: Install the Exchange Online PowerShell Module (if not already installed)

Install-Module -Name ExchangeOnlineManagement -Force -AllowClobber

Step 2: Import the module and connect to Exchange Online

Import-Module ExchangeOnlineManagement Connect-ExchangeOnline -UserPrincipalName your-email@example.com -ShowProgress $true

Step 3: Modify the default outbound spam filter policy to stop forwarding suspicious messages

Set-HostedOutboundSpamFilterPolicy -Identity "Default" -BccSuspiciousOutboundMailTo $null

Step 4: Disconnect the session

Disconnect-ExchangeOnline -Confirm:$false

KelvinTegelaar commented 1 week ago

Only sponsors can create FRs