Skip to content

Instantly share code, notes, and snippets.

@epidrome
Last active April 21, 2020 13:57
Show Gist options
  • Save epidrome/23a18887660fe30c279d3701d1997e77 to your computer and use it in GitHub Desktop.
Save epidrome/23a18887660fe30c279d3701d1997e77 to your computer and use it in GitHub Desktop.
muttrc
#gandi imap
set folder = 'imaps://mail.gandi.net/'
set imap_user = 'no-reply@epidro.me'
#set imap_pass = SECRET
set spoolfile = '+Inbox'
set postponed = '+Drafts'
mailboxes = '+Inbox'
#smtp
set record = +Sent
#unset record
set realname = 'Konstantinos Chorianopoulos'
set from = "no-reply@epidro.me"
set use_from = "yes"
set smtp_url="smtps://$imap_user:$imap_pass@mail.gandi.net"
set smtp_authenticators = "login"
#signature
set signature="fortune /usr/local/share/games/fortune/epictetus|"
#preferences
set send_charset="utf-8"
set pager_context=3
set pager_stop=yes
set mailcap_path=~/.mutt/mailcap
auto_view text/html
alternative_order text/plain text/html
set sort=threads
set sort_aux=last-date-received
# 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
# How often to check for new mail (time in seconds).
set mail_check = 120
bind pager j next-line
bind pager k previous-line
bind attach,index,pager \CD next-page
bind attach,index,pager \CU previous-page
bind pager g top
bind pager G bottom
bind attach,index g first-entry
bind attach,index G last-entry
## Extra info.
my_hdr X-Info: Keep It Simple, Stupid.
## OS Info.
my_hdr X-Operating-System: `uname -s`, kernel `uname -r`
## This header only appears to MS Outlook users
my_hdr X-Message-Flag: WARNING!! Outlook sucks
## Custom Mail-User-Agent ID.
my_hdr User-Agent: Every email client sucks, this one just sucks less.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment