-->
Jan 01, 2021 In Outlook: Right-click Inbox in the left pane and select New Folder. Type a name, and press Enter. On Outlook.com: Select New Folder at the bottom of your folder list in the left pane, type a name, and press Enter. To make categories in Outlook, Home Categorize All Categories; online, select a message, then Categorize Manage categories. Outlook has a smart piece of software running behind-the-scenes. It is called AI (Machine Learning). This software observes the way you handle (or don’t handle) mails and decides whether to keep a mail in Focused or dump it in Other folder. You can repeat this by selecting any other folder, than going back to the “Microsoft Visual Basic for Applications” window and run the script again, until all these useless outlook folders are gone. How to Unhide a Folder. If you accidentally hid a folder such as Calendar, Inbox or want to unhide any other folder, just change this line.
Important
The improved Microsoft 365 Defender portal is now available. This new experience brings Defender for Endpoint, Defender for Office 365, Microsoft 365 Defender, and more into the Microsoft 365 security center. Learn what's new.
Applies to
In Microsoft 365 organizations with mailboxes in Exchange Online, organizational anti-spam settings are controlled by Exchange Online Protection (EOP). For more information, see Anti-spam protection in EOP.
But, there are also specific anti-spam settings that admins can configure on individual mailboxes in Exchange Online:
Enable or disable the junk email rule: The junk email rule is a hidden Inbox rule named Junk E-mail Rule that's enabled by default in every mailbox. The junk email rule controls the following features:
Move messages to the Junk Email folder based on anti-spam policies: When an anti-spam policy is configured with the action Move message to Junk Email folder for a spam filtering verdict, the junk email filter rule moves the message to the Junk Email folder after the message is delivered to the mailbox. For more information about spam filtering verdicts in anti-spam policies, see Configure anti-spam policies in EOP. Similarly, if zero-hour auto purge (ZAP) determines a delivered message is spam or phish, the junk email filter rule moves the message to the Junk Email folder for Move message to Junk Email folder spam filtering verdict actions. For more information about ZAP, see Zero-hour auto purge (ZAP) in Exchange Online.
Junk email settings that users configure for themselves in Outlook or Outlook on the web: The safelist collection is the Safe Senders list, the Safe Recipients list, and the Blocked Senders list on each mailbox. The entries in these lists determine whether the junk email rule moves the message to the Inbox or the Junk Email folder. Users can configure the safelist collection for their own mailbox in Outlook or Outlook on the web (formerly known as Outlook Web App). Admins can configure the safelist collection on any user's mailbox.
When the junk email rule is enabled on the mailbox, EOP is able to move messages to the Junk Email folder based on the spam filtering verdict action Move message to Junk Email folder or the Blocked Senders list on the mailbox, and prevent messages from being delivered to the Junk Email folder (based on the Safe Senders list on the mailbox).
When the junk email rule is disabled on the mailbox, EOP can't move messages to the Junk Email folder based on the spam filtering verdict action Move message to Junk Email folder or the safelist collection on the mailbox.
Admins can use Exchange Online PowerShell to disable, enable, and view the status of the junk email rule on mailboxes. Admins can also use Exchange Online PowerShell to configure entries in the safelist collection on mailboxes (the Safe Senders list, the Safe Recipients list, and the Blocked Senders list).
Note
Messages from senders that users have added to their own Safe Senders lists will skip connection filtering as part of EOP (the SCL is -1). To prevent users from adding entries to their Safe Senders list in Outlook, use Group Policy as mentioned in the About junk email settings in Outlook section later in this article. Policy filtering, Content filtering and Defender for Office 365 checks will still be applied to the messages.
What do you need to know before you begin?
You can only use Exchange Online PowerShell to do the procedures in this article. To connect to Exchange Online PowerShell, see Connect to Exchange Online PowerShell.
You need to be assigned permissions in Exchange Online before you can do the procedures in this article. Specifically, you need the Mail Recipients role (which is assigned to the Organization Management, Recipient Management, and Custom Mail Recipients role groups by default) or the User Options role (which is assigned to the Organization Management and Help Desk role groups by default). To add users to role groups in Exchange Online, see Modify role groups in Exchange Online. Note that users with default permissions can do these same procedures on their own mailbox, as long as they have access to Exchange Online PowerShell.
In hybrid environments where EOP protects on-premises Exchange mailboxes, you need to configure mail flow rules (also known as transport rules) in on-premises Exchange to translate the EOP spam filtering verdict so the junk email rule can move the message to the Junk Email folder. For details, see Configure EOP to deliver spam to the Junk Email folder in hybrid environments.
Safe Senders for shared mailboxes are not synchronized to Azure AD and EOP by design.
Use Exchange Online PowerShell to enable or disable the junk email rule in a mailbox
Note
You can only use the Set-MailboxJunkEmailConfiguration cmdlet to disable the junk email rule on a mailbox that's been opened in Outlook (in Cached Exchange mode) or Outlook on the web. If the mailbox hasn't been opened, you'll receive the error: The Junk Email configuration couldn't be set. The user needs to sign in to Outlook Web App before they can modify their Safe Senders and Recipients or Blocked Senders lists.
If you want to suppress this error for bulk operations, you can add -ErrorAction SilentlyContinue
to the Set-MailboxJunkEmailConfiguration command.
To enable or disable the junk email rule on a mailbox, use the following syntax:
This example disables the junk email rule on Ori Epstein's mailbox.
This example disables the junk email rule on all user mailboxes in the organization.
For detailed syntax and parameter information, see Set-MailboxJunkEmailConfiguration.
Note
If the user has never opened their mailbox, you might receive an error when you run the previous command. To suppress this error for bulk operations, add
-ErrorAction SilentlyContinue
to the Set-MailboxJunkEmailConfiguration command.Even if you disable the junk email rule, the Outlook Junk Email Filter (depending on how it's configured) can also determine whether a message is spam, and can move messages to the Inbox or Junk Email folder based on it's own spam verdict and the the safelist collection on the mailbox. For more information, see the About junk email settings in Outlook section in this article.
How do you know this worked?
To verify that you have successfully enabled or disabled the junk email rule on a mailbox, use any of the following procedures:
Replace <MailboxIdentity> with the name, alias, or email address of the mailbox, and run the following command to verify the Enabled property value:
Use Exchange Online PowerShell to configure the safelist collection on a mailbox
Outlook Turn Off Smart Folders Outlook
The safelist collection on a mailbox includes the Safe Senders list, the Safe Recipients list, and the Blocked Senders list. By default, users can configure the safelist collection on their own mailbox in Outlook or Outlook on the web. Administrators can use the corresponding parameters on the Set-MailboxJunkEmailConfiguration cmdlet to configure the safelist collection on a user's mailbox. These parameters are described in the following table.
Parameter on Set-MailboxJunkEmailConfiguration | Outlook on the web setting |
---|---|
BlockedSendersAndDomains | Move email from these senders or domains to my Junk Email folder |
ContactsTrusted | Trust email from my contacts |
TrustedListsOnly | Only trust email from addresses in my Safe senders and domains list and Safe mailing lists |
TrustedSendersAndDomains* | Don't move email from these senders to my Junk Email folder |
*Notes:
In Exchange Online, domain entries in the Safe Senders list or TrustedSendersAndDomains parameter aren't recognized, so only use email addresses. In standalone EOP with directory synchronization, domain entries aren't synchronized by default, but you can enable synchronization for domains. For more information, see KB3019657.
You can't directly modify the Safe Recipients list by using the Set-MailboxJunkEmailConfiguration cmdlet (the TrustedRecipientsAndDomains parameter doesn't work). You modify the Safe Senders list, and those changes are synchronized to the Safe Recipients list.
To configure the safelist collection on a mailbox, use the following syntax:
To enter multiple values and overwrite any existing entries for the BlockedSendersAndDomains and TrustedSendersAndDomains parameters, use the following syntax: '<Value1>','<Value2>'...
. To add or remove one or more values without affecting other existing entries, use the following syntax: @{Add='<Value1>','<Value2>'... ; Remove='<Value3>','<Value4>...}
This example configures the following settings for the safelist collection on Ori Epstein's mailbox:
Add the value shopping@fabrikam.com to the Blocked Senders list.
Remove the value chris@fourthcoffee.com from the Safe Senders list and the Safe Recipients list.
Configures contacts in the Contacts folder to be treated as trusted senders.
This example removes the domain contoso.com from the Blocked Senders list in all user mailboxes in the organization.
For detailed syntax and parameter information, see Set-MailboxJunkEmailConfiguration.
Note
If the user has never opened their mailbox, you might receive an error when you run the previous commands. To suppress this error for bulk operations, add
-ErrorAction SilentlyContinue
to the Set-MailboxJunkEmailConfiguration command.Even if the junk email rule is disabled on the mailbox, you can still configure the safelist collection, and the Outlook Junk Email Filter is able to move messages to the Inbox or the Junk Email folder. For more information, see the About junk email settings in Outlook section in this article.
The Outlook Junk Email Filter has additional safelist collection settings (for example, Automatically add people I email to the Safe Senders list). For more information, see Use Junk Email Filters to control which messages you see.
How do you know this worked?
To verify that you have successfully configured the safelist collection on a mailbox, use any of following procedures:
Outlook Turn Off Smart Folders On Iphone
Replace <MailboxIdentity> with the name, alias, or email address of the mailbox, and run the following command to verify the property values:
If the list of values is too long, use this syntax:
About junk email settings in Outlook
To enable, disable, and configure the client-side Junk Email Filter settings that are available in Outlook, use Group Policy. For more information, see Administrative Template files (ADMX/ADML) and Office Customization Tool for Microsoft 365 Apps for enterprise, Office 2019, and Office 2016 and How to deploy junk email settings, such as the Safe Senders list, by using Group Policy.
When the Outlook Junk Email Filter is set to the default value No automatic filtering in Home > Junk > Junk E-Mail Options > Options, Outlook doesn't attempt to classify messages as spam, but still uses the safelist collection (the Safe Senders list, Safe Recipients list, and Blocked Senders list) to move messages to the Junk Email folder after delivery. For more information about these settings, see Overview of the Junk Email Filter.
When the Outlook Junk Email Filter is set to Low or High, the Outlook Junk Email Filter uses its own SmartScreen filter technology to identify and move spam to the Junk Email folder. This spam classification is separate from the spam confidence level (SCL) that's determined by EOP. In fact, Outlook ignores the SCL from EOP (unless EOP marked the message to skip spam filtering) and uses its own criteria to determine whether the message is spam. Of course, it's possible that the spam verdict from EOP and Outlook might be the same. For more information about these settings, see Change the level of protection in the Junk Email Filter.
Note
In November 2016, Microsoft stopped producing spam definition updates for the SmartScreen filters in Exchange and Outlook. The existing SmartScreen spam definitions were left in place, but their effectiveness will likely degrade over time. For more information, see Deprecating support for SmartScreen in Outlook and Exchange.
So, the Outlook Junk Email Filter is able to use the mailbox's safelist collection and its own spam classification to move messages to the Junk Email folder, even if the junk email rule is disabled in the mailbox.
Outlook and Outlook on the web both support the safelist collection. The safelist collection is saved in the Exchange Online mailbox, so changes to the safelist collection in Outlook appear in Outlook on the web, and vice-versa.
Limits for junk email settings
The safelist collection (the Safe Senders list, Safe Recipients list, and Blocked Senders list) that's stored in the user's mailbox is also synchronized to EOP. With directory synchronization, the safelist collection is synchronized to Azure AD.
The safelist collection in the user's mailbox has a limit of 510 KB, which includes all lists, plus additional junk email filter settings. If a user exceeds this limit, they will receive an Outlook error that looks like this:
Cannot/Unable add to the server Junk E-mail lists. You are over the size allowed on the server. The Junk E-mail filter on the server will be disabled until your Junk E-mail lists have been reduced to the size allowed by the server.
For more information about this limit and how to change it, see KB2669081.
The synchronized safelist collection in EOP has the following synchronization limits:
- 1024 total entries in the Safe Senders list, the Safe Recipients list, and external contacts if Trust email from my contacts is enabled.
- 500 total entries in the Blocked Senders list and Blocked Domains list.
When the 1024 entry limit is reached, the following things happen:
The list stops accepting entries in PowerShell and Outlook on the web, but no error is displayed.
Outlook users can continue to add more than 1024 entries until they reach the Outlook limit of 510 KB. Outlook can use these additional entries, as long as an EOP filter doesn't block the message before delivery to the mailbox (mail flow rules, anti-spoofing, etc.).
With directory synchronization, the entries are synchronized to Azure AD in the following order:
- Mail contacts if Trust email from my contacts is enabled.
- The Safe Sender list and Safe Recipient list are combined, de-duplicated, and sorted alphabetically whenever a change is made for the first 1024 entries.
The first 1024 entries are used, and relevant information is stamped in the message headers.
Entries over 1024 that weren't synchronized to Azure AD are processed by Outlook (not Outlook on the web), and no information is stamped in the message headers.
As you can see, enabling the Trust email from my contacts setting reduces the number of Safe Senders and Safe Recipients that can be synchronized. If this is a concern, then we recommend using Group Policy to turn this feature off:
- File name: outlk16.opax
- Policy setting: Trust e-mail from contacts
I have various Search Folders in Outlook but these are not available in Outlook Web App (OWA).
I’ve tried to create them directly in OWA but I can’t seem to find any options for it.
How do I create Search Folders in OWA?
You can’t create Search Folders directly in OWA. Search Folders must be created in Outlook and then they will be created on the server as well. However, this only works when Outlook is configured in Online Mode.
Search Folders and Cached Exchange Mode
Most likely you are working with Outlook in Cached Exchange Mode (which is recommended and also the default). In that case, the Search Folders are not visible on the server.
To get them to the server, you must (temporarily) disable Cached Exchange Mode, restart Outlook, enable Cached Exchange Mode again and then also restart Outlook again. During this process, your ost-file is kept so Outlook won’t have to rebuild the Exchange Mailbox cache afterwards.
In addition, to get the Search Folders on the server, they must be active. If they are inactive, the icon will show transparent and the name of the folder is italic. In that case, click on the folder to make it active again and it will be copied to the server.
With Cached Mode Disabled, click on your Search Folders to activate
them and bring them to OWA.
Note: During this process, your Favorites list will also be copied to the server and be made available in OWA. Of course, favorite folders from other mailboxes or pst-files won’t be available.
Outlook Turn Off Smart Folders On Mac
OWA Search Folder limitations
While most Search Folders will work, some Search Folders will not update automatically in OWA. For instance, if you’ve created a Search Folder with a relative date such as the Today’s Unread Mail Search Folder, it will continue to show the items for the day that the folder was created on the server and not “Today”.
The “For Follow Up” and “Unread Mail” Search Folder do work and update automatically in OWA as it should.
Outlook Turn Off Smart Folders Windows 10
Disable/Enable Cached Exchange Mode
To disable/enable Cached Exchange Mode for your Exchange Mailbox:
- Open your Account Settings
- Outlook 2003 and Outlook 2007
Tools-> Account Settings… - Outlook 2010
File-> Account Settings-> Account Settings… - On the E-mail tab, double click on your Exchange account
- Disable/enable the option: Use Cached Exchange Mode.
- Click Next.
- Confirm the warning dialog:
“The operation you selected will not complete until you quit and restart Microsoft Outlook.” - Click Finish to complete the account reconfiguration.
- Click Close to return to Outlook
- Restart Outlook.
Verify that your Search Folders are now also available in OWA. You can now re-enable Cached Exchange Mode via the same instructions.
You can disable Cached Exchange Mode by double clicking your Exchange account in Account Settings.
Note: If the option to disable Cached Exchange Mode is greyed out or not available, then the setting forced via a Group Policy. In that case, it won’t be possible to get your Search Folder available in OWA. If your company has Outlook Anywhere enabled and you are allowed to configure your mail account on a non-corporate computer, then you could create the Search Folders on that computer and use the above steps to get tem to OWA as well.