exchange-serverexchange-server-2019

How to unset the spam quarantine mailbox in Exchange Server 2019


I followed the docs to set a mailbox to handle quarantined email:

https://learn.microsoft.com/en-us/exchange/antispam-and-antimalware/antispam-protection/configure-quarantine-mailboxes?view=exchserver-2019

I used Set-ContentFilterConfig -QuarantineMailbox spamQ@mydomain.com

Now I don't want this and just want spam going to the individuals Junk E-Mail folder. I can't find how to remove this setting.

Thank you.


Solution

  • this way you can disable quarantine

    Set-ContentFilterConfig -SCLQuarantineEnabled $false