

This example disables the junk email rule on all user mailboxes in the organization. Get-Mailbox -RecipientTypeDetails UserMailbox -Database "MDB 01" | Set-MailboxJunkEmailConfiguration -Enabled $false This example disables the junk email rule on all user mailboxes in the mailbox database named MDB 01. Get-Mailbox -RecipientTypeDetails UserMailbox -OrganizationalUnit "/North America" | Set-MailboxJunkEmailConfiguration -Enabled $false This example disables the junk email rule on all user mailboxes in the Organizational Unit named North America in the domain. Set-MailboxJunkEmailConfiguration "Ori Epstein" -Enabled $false This example disables the junk email rule on Ori Epstein's mailbox. To enable or disable the junk email rule on a mailbox, use the following syntax: Set-MailboxJunkEmailConfiguration -Enabled This value corresponds to the Outlook on the web setting: Don't move email to my Junk Email folder. When the junk email rule is disabled on the mailbox, Exchange can't deliver messages to the Junk Email folder based on the SCL Junk Email folder threshold or the safelist collection on the mailbox. This value corresponds to the Outlook on the web setting: Automatically filter junk email. When the junk email rule is enabled in the mailbox, Exchange is able to deliver messages to the Junk Email folder (based on the Blocked Senders list or SCL Junk Email folder threshold), and prevent messages from being delivered to the Junk Email folder (based on the Safe Senders list). Administrators can configure the safelist collection for a mailbox by using the Set-MailboxJunkEmailConfiguration cmdlet.

Users can configure the safelist collection for their own mailbox in Microsoft Outlook or Outlook on the web. Message delivery to the Junk Email folder based on the safelist collection on the mailbox: The entries in the Safe Senders list, Safe Recipients list, and Block Senders list that are configured on the mailbox determine whether the junk email rule delivers the message to the Inbox or the Junk Email folder. Message delivery to the Junk Email folder based on the SCL Junk Email folder threshold: When a message is assigned a spam confidence level (SCL) value by Exchange, and the SCL value is greater than the SCL Junk Email folder threshold value that's configured for the Exchange organization (the default value is 4) or directly on the mailbox (the default value is not configured), the junk email filter rule moves the message to the Junk Email folder.


Use the Exchange Management Shell to enable or disable the junk email rule in a mailboxīy default, the junk email rule (a hidden Inbox rule named Junk E-mail Rule) is enabled in every mailbox, and controls the following Exchange antispam features: Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection. Having problems? Ask for help in the Exchange forums.
HOW TO SET UP SPAM FOLDER IN OUTLOOK 2016 HOW TO
To learn how to open the Exchange Management Shell in your on-premises Exchange organization, see Open the Exchange Management Shell.įor information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center. You can only use PowerShell to perform this procedure. For more information, see Enable antispam functionality on Mailbox servers. Typically, you only enable the antispam features on a Mailbox server if your Exchange organization doesn't do any prior antispam filtering before accepting incoming messages. To see what permissions you need, see the "Antispam features" entry in the Antispam and antimalware permissions topic, and the "Antispam" entry in the Recipients Permissions topic.īy default, antispam features aren't enabled in the Transport service on a Mailbox server. You need to be assigned permissions before you can perform this procedure or procedures. What do you need to know before you begin?Įstimated time to complete each procedure: 5 minutes The antispam settings that are available on mailboxes are basically unchanged from Exchange 2010. In Exchange Server, you can configure specific antispam settings on individual mailboxes that are different than the antispam settings that are applied to the rest of the mailboxes in your organization.
