Alpine and Mutt

From FarmShare

(Difference between revisions)
Jump to: navigation, search
(Alpine Configuration)
Line 8: Line 8:
  # ~/.pinerc
  # ~/.pinerc
-
  smtp-server=smtp.stanford.edu:465/ssl/user=${USER}
+
  smtp-server=smtp.stanford.edu:587/submit/tls/user=${USER}@stanford.edu
  inbox-path={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Inbox
  inbox-path={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Inbox
-
  folder-collections={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}[], ~/Mail/[]
+
  folder-collections="IMAP Folders" {outlook.office365.com:993/ssl/user=${USER}@stanford.edu}[], "Local Mail" ~/Mail/[]
  default-fcc={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Sent Items
  default-fcc={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Sent Items
  postponed-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Drafts
  postponed-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Drafts
  default-saved-msg-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Archive
  default-saved-msg-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Archive
  trash-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Deleted Items
  trash-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Deleted Items
 +
ldap-servers=ldap.stanford.edu "/base=cn=people,dc=stanford,dc=edu/impl/tlsm/nick=Stanford Directory"
Note: The ${USER} expression automatically substitutes your local username. If you are configuring Alpine on a system where your local username differs from your SUNet ID you must replace the entire expression with your SUNet ID.
Note: The ${USER} expression automatically substitutes your local username. If you are configuring Alpine on a system where your local username differs from your SUNet ID you must replace the entire expression with your SUNet ID.

Revision as of 13:35, 20 April 2020

Alpine and Mutt are installed in the legacy FarmShare environment, but not on FarmShare 2; FarmShare 2 users can install either application using a local package manager like https://linuxbrew.sh Linuxbrew]. The following configurations support Stanford e-mail hosted by Microsoft Office 365.

Enable IMAP

IMAP and POP services are disabled for many users as a security precaution, including all users with accounts created after October 31, 2017, and existing users that have not used an IMAP (or POP) e-mail client in the recent past. If you would like to use Alpine or Mutt to check mail on FarmShare machines you can request that IMAP be enabled for your account by submitting a HelpSU request.

Alpine Configuration

# ~/.pinerc
smtp-server=smtp.stanford.edu:587/submit/tls/user=${USER}@stanford.edu
inbox-path={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Inbox
folder-collections="IMAP Folders" {outlook.office365.com:993/ssl/user=${USER}@stanford.edu}[], "Local Mail" ~/Mail/[]
default-fcc={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Sent Items
postponed-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Drafts
default-saved-msg-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Archive
trash-folder={outlook.office365.com:993/ssl/user=${USER}@stanford.edu}Deleted Items
ldap-servers=ldap.stanford.edu "/base=cn=people,dc=stanford,dc=edu/impl/tlsm/nick=Stanford Directory"

Note: The ${USER} expression automatically substitutes your local username. If you are configuring Alpine on a system where your local username differs from your SUNet ID you must replace the entire expression with your SUNet ID.

Mutt Configuration

# ~/.muttrc
set smtp_url="smtps://$USER@smtp.stanford.edu/"
set folder="imaps://$USER%40stanford.edu@outlook.office365.com/"
set spoolfile="+Inbox"
set postponed="+Drafts"
set record="+Sent Items"
Personal tools
Toolbox
LANGUAGES