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 Inbox rules.
- Click the plus sign (+)
- In the New inbox rule dialog box, enter a name for this new rule, such as Spam Filtering..
- From the list under When the message arrives, and click It includes these words, and then click in the message header.
- When prompted to specify words or phrases, enter:X-Uwash-Spam: Gauge=XXXXXX
into the Enter words... dialogue box.Click the plus sign ( + ), and then click OK the added rule should look like this.
- In the new inbox rule dialog box, from the list under Do the following, click Move, copy or delete, then click Move the message to folder.
- Then click Junk E-mail as the folder and click OK
- At the bottom of the New inbox rule page, make sure that the Stop processing more rules box is checked.
- Click OK at the top to 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.