Skip to content

Instantly share code, notes, and snippets.

@b3n10
Last active June 4, 2020 08:27
Show Gist options
  • Save b3n10/e28dfc7b2dd091069a8fd58564d6acda to your computer and use it in GitHub Desktop.
Save b3n10/e28dfc7b2dd091069a8fd58564d6acda to your computer and use it in GitHub Desktop.
Config for Mutt web client
set imap_user = #
set imap_pass = #
set folder = imaps://<replace-with-domain-name>
set spoolfile = +INBOX
mailboxes =INBOX
# necessary for replying
set realname = $imap_user
set from = $imap_user@<replace-with-domain-name>
set use_from = yes
# Allow Mutt to open a new IMAP connection automatically.
unset imap_passive
# Keep the IMAP connection alive by polling intermittently (time in seconds).
set imap_keepalive = 300
# fetch new mail every 1 sec
set timeout = 1
# view html
set mailcap_path = ~/.mutt/mailcap
# automatically open HTML messages in w3m
auto_view text/html
# store all fetched messages
set header_cache=/dev/shm/mutt_messages
set message_cachedir=/dev/shm/mutt_messages
# set sendmail = "/usr/bin/msmtp"
set sort=reverse-date
# macro index <F5> '<enter-command>source ~/.mutt/gmail.tld<enter><change-folder>!<enter>'
set record = +Sent
unset record
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment