Alpine on Linux/Unix - Manual IMAP Setup for Exchange

Issue/Question

  • An employee would like to configure Alpine (an IMAP client) to connect to OSU's Exchange email system.

Environment

  • Oregon State University
  • Employee, Student Employee, Associate
  • Exchange Email
  • Alpine

Explanation

OSU's Exchange system supports connections from any standard IMAP client. The instructions below are specifically for connecting from shell.onid.oregonstate.edu, where Alpine is already installed. These instructions may be adapted for use on other systems. 

You will need an SSH application. SSH is built-in on macOS. For Windows, Putty is a good, free tool.

Disclaimer: Please note that all support for Linux/Unix is provided as "best effort" only and these instructions may not work on all systems. Use of Alpine to access OSU Exchange mail is not recommended.

Resolution

Exchange On-Premises

These steps will work for Exchange mailboxes located in Exchange on-prem.

  1. Make an SSH connection to shell.onid.oregonstate.edu.
  2. To make a new Alpine configuration file, enter the following command: cp .pinerc .pinerc-exchange
  3. Edit the new pinerc file: vi .pinerc-exchange
  4. Set the following fields:
    • personal-name = <your name>
    • user-domain = oregonstate.edu
    • inbox-path = {exmail.oregonstate.edu/ssl/user=username@oregonstate.edu}Inbox
    • disable-these-authenticators=GSSAPI,PLAIN
  5. Run Alpine with the new configuration file: alpine -p .pinerc-exchange
  6. Enter your password when prompted.
  7. You may change other settings within Alpine by entering "Setup" and selecting "Configuration".

 

Exchange Online

These steps will work for Exchange mailboxes located in Exchange Online.

  1. Make an SSH connection to shell.onid.oregonstate.edu.
  2. To make a new Alpine configuration file, enter the following command: cp .pinerc .pinerc-exchange
  3. Edit the new pinerc file: vi .pinerc-exchange
  4. Set the following fields:
    • personal-name = <your name>
    • user-domain = oregonstate.edu
    • inbox-path={outlook.office365.com/tls/novalidate-cert/user=username@oregonstate.edu}Inbox
    • folder-collections={outlook.office365.com}INBOX.[], Exchange {outlook.office365.com/user=peterkir@oregonstate.edu/tls/novalidate-cert}[]
    • disable-these-authenticators=GSSAPI,PLAIN
    • feature-list=enable-dot-folders, enable-incoming-folders
  5. Run Alpine with the new configuration file: alpine -p .pinerc-exchange
  6. Enter your password when prompted.
  7. You may change other settings within Alpine by entering "Setup" and selecting "Configuration".

Details

Article ID: 42863
Created
Mon 11/20/17 9:19 AM
Modified
Fri 5/8/20 4:50 PM