Mutt

Mutt is a small but very powerful text-based mail client for Unix operating systems.

The following examples are based on a fictive user account with user name hmuster, first name Hans and last name Muster. Please replace all occurrences in text that you copy with your real email account information. Students must also change inf.ethz.ch to student.ethz.ch.

Setup

If you have not previously set up Mutt then remove ~/.muttrc if it is already there and create a new ~/.muttrc with the content below. Otherwise just edit your existing ~/.muttrc and make sure that the following definitions are there:

set imap_user        = hmuster
set spoolfile        = imaps://mail.ethz.ch/INBOX
set folder           = imaps://mail.ethz.ch/
set smtp_url         = "smtp://hmuster@mail.ethz.ch:587"
set ssl_starttls     = yes
set ssl_force_tls    = yes
set smtp_authenticators = 'gssapi:login'

set mail_check       = 300
set imap_keepalive   = 600

set folder           = "{mail.ethz.ch/ssl}"
set spoolfile        = "{mail.ethz.ch/ssl}inbox"
set record           = "{mail.ethz.ch/ssl}Sent"
set postponed        = "{mail.ethz.ch/ssl}Draft"

set header_cache     = ~/.mutt/headercache
set message_cachedir = ~/.mutt/messagecache

set from             = 'hmuster@inf.ethz.ch'
set realname         = 'Hans Muster'
set hostname         = inf.ethz.ch

mailboxes =Drafts =Sent
unset mbox

Have a better example configuration? Does this configuration not work? Please let us know.

Page URL: https://isg.inf.ethz.ch/bin/view/Main/HelpMailClientSetupMutt
2019-11-18
© 2019 Eidgenössische Technische Hochschule Zürich