Hi Sean,
You might have already seen, but here this the info:
Disabling or enabling malware filtering restarts the Microsoft Exchange Transport service on the server. This may temporarily disrupt mail flow
in your organization.
Bypassing or restoring malware filtering doesn't require you to restart any services. However, changes to the setting may take up to 10 minutes to take effect.
Disable or bypass anti-malware scanning
To verify that malware filtering is being bypassed, run the following command and confirm that it returns a value of True:
Get-MalwareFilteringServer | Format-List BypassFiltering
Hope its applied correctly.
Now Junk Filtering is more of a
SPAM filtering.
You can configure specific anti-spam settings on individual mailboxes that are different than the anti-spam settings that are applied to the rest of the mailboxes in your Exchange
organization. When you configure an anti-spam setting on a mailbox, that setting overrides the corresponding organization-wide content filtering or organization configuration anti-spam setting.
This example sets the organization's junk email threshold to 5.
Set-OrganizationConfig -SCLJunkThreshold 5
This example enables the SCL quarantine threshold with a value of 7 on all mailboxes in the Users container in the Contoso.com domain:
Get-Mailbox -OrganizationalUnit Contoso.com/Users | Set-Mailbox -SCLQuarantineEnabled $true -SCLQuarantineThreshold 7 -AntispamBypassEnabled $true -SCLJunkEnabled $true
The Junk Email Folder SCL threshold value behaves differently than the SCL delete, reject, and quarantine values. For more information, see
Spam Confidence Level Threshold.
SCLJunkEnabled
This parameter enables or disables delivering a message to the user's Junk Email folder when the SCL value of the message is greater than the value specified by the SCLQuarantineThreshold parameter. Valid input for this parameter is $true,
$false, or $null.
Note that junk email filtering is enabled by default for all user mailboxes in the organization. By default, the Enabled parameter is set to the value $true on the Set-MailboxJunkEmailConfiguration cmdlet for all user mailboxes.
This example lists the junk email rule configuration for all mailboxes in your organization that have the junk email rule enabled and sets it to false.
Get-MailboxJunkEmailConfiguration -Identity * | Where {$_.Enabled -eq $true} | Set-MailboxJunkEmailConfiguration Enabled $false
Get-MailboxJunkEmailConfiguration -Identity * | Where {$_.Enabled -eq $true}
This example identifies any mailboxes for which the junk email rule is configured to treat contacts as trusted senders and then changes the junk email configuration to not treat contacts as trusted senders.
Get-MailboxJunkEmailConfiguration * | Where {$_. ContactsTrusted -eq $true} | Set-MailboxJunkEmailConfiguration ContactsTrusted $false
References:
Set-MailboxJunkEmailConfiguration
https://technet.microsoft.com/en-us/library/dd979780(v=exchg.150).aspx
Get-MailboxJunkEmailConfiguration
https://technet.microsoft.com/en-us/library/dd979784(v=exchg.150).as