The best way to block spam in UW Exchange Online is to turn off junk email handling in both Outlook and Outlook Web App (OWA), and then create a filtering rule in OWA. Use the following procedures to set up spam filtering:
- Turn Off Junk Mail Filtering in Outlook
- Turn Off Junk Mail Filtering in OWA
- Create a Filtering Rule in OWA
- Don't Accidentally Re-enable Junk Email Filtering in Outlook
Turn Off Junk Mail Filtering in Outlook
- While viewing Mail, on the Home tab, in the Delete group, click Junk, and then click Junk E-mail Options.
If you are not in Cached mode, Outlook displays a message that the Junk E-mail filter is not available. It is fine that it is not available, because you will not be using it, so click OK to continue.
- In the Options tab, select No Automatic Filtering.
- In the Safe Senders tab, make sure that the list is empty.
- In the Blocked Senders tab, make sure that the list is empty.
- In the International tab, click each button, click Clear All, and then click OK.
- Click OK.
Turn Off Junk Mail Filtering in OWA
- Open OWA.
- In the upper-right corner of the screen, click the gear icon , and then click Options.
- On the left side of the screen, click block or allow.
- Select Don't move email to my Junk Email folder.
- Click save.
Create a Filtering Rule in OWA
- In OWA, on the left side of the screen, click organize email.
- Click the plus sign (+), and then click Create a new rule for arriving messages.
- In the new inbox rule dialog box, enter a name for this new rule, such as Spam Filtering, and then click More options.
- From the list under When the message arrives, and point to It includes these words, and then click in the message header.
- When prompted to specify words or phrases, enter:
- Click the plus sign ( + ), and then click OK.
- In the new inbox rule dialog box, from the list under Do the following, point to Move, copy or delete, click Move the message to folder, and then click Junk E-mail.
- Click OK.
- Above the Name field, make sure that the Stop processing more rules box is checked.
- Click Save.
- If the following message appears, click OK to continue:
More information about the rule
- The rule will apply a threshold of "60" for spam rejection, messages scoring 60 or more will be moved to Junk. To change the threshold, add or subtract X's from the string.
- The higher the threshold the less likely you are to move messages to Junk that you might really want, and, conversely, the more likely you are to see "junk" messages in your Inbox.
- No filter is perfect. Regularly check your Junk mail folder for legitimate mail.