Microsoft Exchange/Office365

Office365: How to prevent emails from going into a junk folder

My use case was Nagios notification not delivering into our user’s inbox but rather into the Junk folder because of not having the right domain name. In other to prevent this false positive from moving emails from a specific Email ID to JUNK folder in Outlook

Note: These emails were filtered out because of the following reasons,

  • Because we had the safe lists enabled, only emails from specific domains are allow and delivered to inbox in Outlook. (i,e., This does not have the right domain name and thus goes to the junk folder. To mitigate against this, i had to create a rule to deliver this this to user mailbox correctly.
  • We need to add the email addresses to allow (spam filter policy) Options
  • You can use a safe sender list or a mail flow rule to bypass spam filtering and prevent good email messages from getting marked as junk mail.

Steps to Fix (using Mail flow rule)

Search and get the the email header from a message sent by the sender that you want to allow as shown below.

To configure the Spam Filter Policy.
Use the Exchange Admin Center (EAC) to configure spam filter policies

In the Exchange admin center (EAC), 
- navigate to Protection 
- Spam filter.

Do one of the following on the general page as shown below.

  1. Double-click the default policy in order to edit this company-wide policy. OR
  2. Click the Add Icon New icon in order to create a new custom spam-filter policy that can be applied to users, groups, and domains in your organisation.

Note: You can also edit existing custom policies by double-clicking on them.

Note: There is no need to create a transport rule for this basic task to bypass an IP

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x