For general instructions on how to set up inbox rules in Outlook Web App (OWA), visit the Microsoft support page at the link below:

Posteingangsregeln in Outlook Web App (microsoft.com)

Every e-mail that passes the TU mail gateway goes through a programmed spam filter. As a result of the filtering, two header lines are added to each e-mail (X-Spam-Status, X-Spam-Level). The method of spam filtering described here is based on the request of the header line "X-Spam-Level". The rule is created in the OWA web client as an example.

If you would like to set a different spam filter, please follow this example but change it according to your needs.

  1. In the main interface of OWA, click the "Settings" wheel on the right side of the window and select "Options" there. 

Explanatory screenshot to the previous description with marker on the Options menu item
Screenshot OWA: drop-down menu "settings"

 

  1. In the options menu, select "Mail" and the "Inbox and sweep rules" tab. To create a new rule, click the "Plus" sign.

Explanatory screenshot to the previous description with markers on the Inbox and sweep Rules menu item and the Plus button.
Screenshot OWA: menu item "Inbox rules"

 

  1. The "New inbox rule" menu opens with various selection options. Assign a name for the rule here (e.g. "Header contains X-Spam level: ****** " or suitable for your intention). 
Explanatory screenshot to the previous description
Screenshot OWA: form for creating new inbox rule

         

  1. Now open the pull-down menu under "When the message arrives, and it matches all of these conditions". Select "It includes these words" and then "in the message header...".   

Explanatory screenshot to the previous description with markers on the menu item it includes these words and the menu item in the message header
Screenshot OWA: set conditions for inbox rule

 

  1. In the new "Specify words or phrases" window, paste the phrase "X-Spam-Level: ****** " in the input line. Apply the change by selecting the plus sign "+".

Explanatory screenshot to the previous description with marker on the plus button
Screenshot OWA: specify words or phrases for inbox rule

     

  1. Now choose what to do with the emails detected as spam. If you want to move these mails to the SPAM folder, select under "Do all the following " then "Move, copy or delete" and then "Move the message to folder...".
Explanatory screenshot to the previous description with markers on the Move, Copy or Delete menu item and the Move the Message to Folder menu item
Screenshot OWA: choose action for email

 

  1. Now specify the mailbox folder where you want your spam to be moved to. The default spam folder for an MS Exchange mailbox is called "Junk Mail". Finally, finish the rule creation by clicking "OK" and then "Save"

Explanatory screenshot to the previous description
Screenshot OWA: select folder for spam emails