-
-
Save chrissuperduper/6a514d63a4b37f4a2896 to your computer and use it in GitHub Desktop.
My dotmuttrc file for use with Fastmail
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set from = "xxxxxxx" | |
set realname = "xxxxxxxx" | |
# Quick Settings | |
set my_server = mail.messagingengine.com | |
set my_user = xxxxxxxx | |
set my_pass = xxxxxxxx | |
# Account Information | |
set smtp_url = "smtp://$my_user:$my_pass@$my_server:587" | |
set smtp_pass = $my_pass | |
set imap_user = $my_user | |
set imap_pass = $my_pass | |
# Mailboxes | |
set folder = "imaps://$my_server:992" | |
set spoolfile = "=" | |
set record = "=Sent Items" | |
set postponed = "=Drafts" | |
set trash = "=Trash" | |
mailboxes = "=" | |
# AutoComplete Addresses | |
set query_command = "~/.mutt/fastmail-ldap.pl '%s'" | |
bind editor <Tab> complete-query | |
bind editor ^T complete | |
# Cache | |
set header_cache = "~/.mutt/cache/headers" | |
set message_cachedir = "~/.mutt/cache/bodies" | |
set certificate_file = "~/.mutt/certificates" | |
# Options | |
set index_format = "%3C %Z %[%b %d %R] %-18.18L (%4c) %s" | |
set imap_idle=yes | |
unset imap_passive | |
set timeout=15 | |
set mail_check = 5 | |
set imap_keepalive = 900 | |
set sort = threads | |
set sort_browser=date | |
set sort_aux=reverse-last-date-received | |
set editor = "emacs +8 %s" | |
set pager_index_lines = 10 | |
set pager_context = 5 | |
unset markers | |
set delete=yes | |
set noconfirmappend | |
set edit_headers | |
unset mark_old | |
set pager_stop | |
set strict_threads = yes | |
# Keyboard | |
bind index "^" imap-fetch-mail | |
bind index \ed purge-message | |
bind pager \ed purge-message | |
bind compose p postpone-message | |
bind index p recall-message | |
bind pager <up> previous-line | |
bind pager <down> next-line | |
bind pager "[" half-up | |
bind pager "]" half-down | |
# Delete and move up a message NOT SURE THIS WORKS! In which case uncomment the two lines above for purging | |
#macro index,pager d "<delete-message><previous-entry><previous-entry>" "mark for deletion and move up" | |
#macro index,pager \ed "<purge-message><previous-entry><previous-entry>" "mark for deletion and move up" | |
# Mark read and delete - use "esc a" | |
macro index \ea "<enter-command>unset resolve<enter><clear-flag>N<enter-command>set resolve<enter><save-message>=Trash<enter><sync-mailbox>" "mark read and delete" | |
# Solarized | |
#uncomment the colorscheme you want to use, and comment out the others | |
source "~/.mutt/mutt-colors-solarized/mutt-colors-solarized-dark-16.muttrc" | |
#source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-light-16.muttrc | |
#source "~/.mutt/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc" | |
#source $MAILCONF/mutt-colors-solarized/mutt-colors-solarized-light-256.muttr | |
# Opening links etc | |
macro index \cb |urlview 'call urlview to extract URLs out of a message' | |
macro pager \cb |urlview 'call urlview to extract URLs out of a message' | |
# HTML emails | |
set mailcap_path="~/.mailcap" | |
auto_view text/html | |
alternative_order text/plain text/html | |
#set query_command="/usr/local/bin/muttqt -q '%s'" | |
set alias_file=~/.mutt/aliases | |
source $alias_file |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment