Introduction

IMAP email access at SLAC is limited to the internal SLAC network. If you are offsite, you need to connect to VPN to use the IMAP protocol. Alternatively, you can use and configure the Owl plugin for Thunderbird. Owl allows Thunderbird to use the Outlook Web Access (OWA) protocol, which uses Duo two factor authentication. SLAC has a site license for the Owl plugin (for slac.stanford.edu email address).

For more information on the security reasons for restricting IMAP usage:
https://intranet.slac.stanford.edu/news/2019/07/reducing-risk-cyber-attacks-certain-email-protocols

IMAP Alternatives

Other ways to read email at SLAC for linux users include:

  • Outlook Web Access at https://outlook.office365.com
  • VPN to SLAC + any IMAP client (like Thunderbird without the Owl integration, or Evolution)
  • ssh to a SLAC linux machine and use any IMAP client (eg, you can configure mutt and alpine for IMAP)
  • https://citrix.slac.stanford.edu   If you are already a Citrix user, you may consider reading email using this. You can run an entire Windows Desktop environment, or just a single application (like Outlook). This may not be the most convenient or quick way to bring up your email, but it is listed here for completeness.

Owl Documentation

https://addons.thunderbird.net/en-US/thunderbird/addon/owl-for-exchange/
https://www.beonex.com/owl/
https://gitlab.com/beonex/owl-support/wikis/home

Install and configure the Owl plugin in Thunderbird

  1. Open a terminal, install and/or update thunderbird to latest version by running these commands for Ubuntu:

    sudo apt update
    sudo apt install thunderbird
    sudo apt upgrade thunderbird

    Or these commands for CentOS:

    sudo yum clean all
    sudo yum install thunderbird
    sudo yum upgrade thunderbird

    Thunderbird also has downloads available for MacOS or Windows platforms. You can find download links on the Thunderbird website: https://www.thunderbird.net/

  2. Start Thunderbird by typing 'thunderbird' in your terminal window:

    thunderbird &

    Or double click on the application icon (eg, look in your applications menu/folder)

  3. If you are prompted to "Set up an Existing Email Account", close this window, click cancel, or select "I think I'll configure my account later".
    1. Note: if you already have Thunderbird configured to connect to SLAC (using just IMAP without Owl) you might have to delete that account from Thunderbird first.
  4. Select the menu button in the upper right (the box with three horizontal lines).
  5. Select: Add-ons.
  6. Click the button that says "browse all add-ons".
  7. Type "owl" in the search dialog box.
  8. Select the choice that shows up which says "Owl for Exchange".
  9. Click "+ Add to Thunderbird"
  10. Under "Tools" > "Add ons", click on "Owl for Exchange", and click "Preferences"
    1. Or depending on your OS platform, you might find this under the menu button (the box with three horizontal lines), and then "Add ons".
  11. Click "Add new account Manually"
    1. Enter your SLAC email address.
    2. Next to Username, it should contain your full email address, eg, username@slac.stanford.edu
    3. Keep the "Outlook Web Access" protocol button selected.
    4. Keep the "Login method" choice to the default of "Detect automatically"
    5. Next to Webmail page, enter:  https://outlook.office365.com
      Here is an example screenshot:
    6. Click "Create account"
  12. You will be prompted with the familiar Windows authentication page that looks like this: 
       
     
  13. After you sign in on the above page with your Windows credentials, you will see the familiar Duo authentication page:

      

  14. After you authenticate with Duo, your account should be all created. You can close the "Add-ons Manager" tab in Thunderbird, or just click over to the "Inbox" tab to access your SLAC email. You will not have to enter your Windows credentials, or perform Duo authentication every time you use Thunderbird.
      

Outlook Calendar integration with Thunderbird + Lightning + Owl

Owl now has beta support for Outlook Calendar integration with Thunderbird and the "Lightning" plugin. Calendar integration seems to work automatically when the Lightning plugin is installed (and Lightning is installed by default on many Thunderbird installations). We are in contact with Owl support to get more details, and as we learn more about how this integration works, we will provide more information here about how best to use it.

Why Owl was chosen over some alternatives

We did an evaluation of several products which offered some type of Outlook Web Access protocol integration with Linux.
Owl was chosen because of the popularity of Thunderbird, which is already being used by many linux users, and Thunderbird is already provided as a supported application from the major linux desktop distributions which are recommended at SLAC (Ubuntu, CentOS). We list the alternatives here for completeness, and you are welcome to try them if you do not like using Owl with Thunderbird for some reason.

hiri. https://www.hiri.com
Pros: Nice interface; easy to set up and use.  Easy access and use of Calendar, Email, and Contacts.
Cons: Cannot view full email headers.  Not many configurable settings/preferences. No recent software updates. No response from developers/company.
Note: there is a free trial, but after the trial, there is a per-user cost.

ExQuilla.  https://www.exquilla.com/ (older version of Owl).
The first generation Exchange add-on for Thunderbird. Same developer as Owl (see above). This product uses older technology, but still may work. 

Evolution-ews. Evolution did not seem to be as popular as Thunderbird. We found the interface to be of poor quality, and the configuration was complicated.


Thunderbird Cookie setting

There is a Thunderbird cookie setting which may be required:

The settings that were able to allow Owl to function are:   (T’bird Settings -> Privacy & Security)
     CHECK “Accept cookies from sites”
         Accept third-party cookies: ALWAYS
   Keep until: THEY EXPIRE