Contents  SpamSieve Manual  Technical Support

3.6   Setting Up Outlook

These instructions apply to Microsoft Office 365 (also known as Outlook 2016 and Outlook 2019, versions 15.x and 16.x). The “New Outlook” switch at the top of the window needs to be Off, as the in-progress “new look” version of Outlook does not support AppleScript. In some versions of Outlook, there is no switch to turn off “New Outlook” once it is enabled, but you can do so as described here. For older versions of Outlook, please see the Setting Up Outlook 2011 section.

  1. In the Finder, choose Utilities from the Go menu and open the Script Editor (or AppleScript Editor) application. Open its Preferences window. Click on the General tab, and make sure that Show Script menu in menu bar is checked. (You may have to uncheck and then check the box before the icon shows up in the menu bar.)

  2. Switch to SpamSieve by clicking on its icon in the Dock. Go to the SpamSieve menu and choose Settings…. Make sure that Use Entourage/Outlook address book is checked and click the Load button, then the Outlook button.

  3. Choose Install Outlook Scripts from the SpamSieve menu. When in Outlook, you should now see five SpamSieve items in Script menu at the top-right of your screen:

    outlook 15 scripts menu

  4. You will now create an InboxSpamSieve folder in each account and set up a rule to move new messages to that folder. SpamSieve will periodically scan the messages in this folder, moving the good ones to Inbox and the spam ones to Junk.

  5. Install the Outlook - Filter Mailboxes helper application. To do this:

    1. Click this link to download the Outlook - Filter Mailboxes.dmg file.

    2. Open the Outlook - Filter Mailboxes.dmg file and drag the Outlook - Filter file to your Applications folder. If it asks whether you want to replace an existing item, click Replace to replace the old version with the new version.

    3. Drag the Outlook - Filter Mailboxes.dmg file to the trash.

    4. Double-click the Outlook - Filter file in your Applications folder.

      outlook 365 outlook filter mailboxes

    5. You will need to launch this application whenever you want SpamSieve to monitor Outlook for new messages that need to be filtered. You can optionally set up Outlook - Filter as a Login Item in the Users & Groups section of System Settings if you want it to launch automatically. The easiest way to do this is to click and hold on its Dock icon and make sure that Options ‣ Open at Login is checked.

  6. Now it is time to train SpamSieve:

    • To train SpamSieve with spam messages, select one or more of them and then choose SpamSieve - Train as Spam from the Script menu.
    • To train SpamSieve with good messages, select one or more of them and then choose SpamSieve - Train as Good from the Script menu.

    The Do an Initial Training section explains which messages (and how many of them) you should train.

    Note: On macOS 10.14 or later, the first time you try to train a message macOS will ask for permission to control Outlook and SpamSieve, and you should click OK.

SpamSieve will process new mail automatically every minute, moving good messages to your inbox and spam messages to the Junk folder. Prior to Outlook 15.36, Outlook had a single top-level folder called Junk Email, with per-account folders inside. In Outlook 15.36, there is a separate Junk folder within the section for each account. For more information, please see this thread.

Messages yet to be processed will be held in the InboxSpamSieve folders. You can make it process the messages immediately by clicking on the Outlook - Filter Mailboxes icon in the Dock. If you ever need to manually ask SpamSieve to sift through a mix of spam and good messages, select the messages and choose SpamSieve - Move If Spam from the Script menu.

The above is all you need to know about using SpamSieve with Outlook. The Outlook Customization section explains some more advanced setup options. If the filtering doesn’t seem to be working properly, you can check the setup as described in the Checking the Outlook Setup section.

     Contents  SpamSieve Manual  Technical Support