# Account stuff # About Me set from = "aiten@posteo.net" set realname = "ait" # My credentials set imap_user=$from set imap_pass=`pass email/aiten@posteo.net` #set smtp_url=smtps://$imap_user@posteo.de:587 set smtp_url=smtps://$imap_user@posteo.de:465 set smtp_pass=$imap_pass # My mailboxes set folder=imaps://$imap_user@posteo.de:993" set spoolfile = "+INBOX" set record = "+Sent" set trash = "+Trash" set postponed = "+Drafts" # External set editor = "nvim +':set textwidth=0' +':set wrapmargin=0' +':set wrap'" set query_command = "abook --mutt-query '%s'" # Where to put the stuff set header_cache = "$XDG_CACHE_HOME/mutt/headers" set message_cachedir = "$XDG_CACHE_HOME/mutt/bodies" set certificate_file = "$XDG_DATA_HOME/mutt/certificates" set mailcap_path = "$XDG_CONFIG_HOME/mutt/mailcap" # Etc set ssl_starttls = yes set status_on_top = no #set help = no set mail_check = 30 set move = no set imap_keepalive = 900 set sort = reverse-threads set wait_key = no # mutt won't ask "press key to continue" set rfc2047_parameters = yes set sleep_time = 0 # Pause 0 seconds for informational messages set fast_reply = yes # skip to compose when replying set fcc_attach # save attachments with the body set forward_format = "Fwd: %s" # format of subject when forwarding set forward_quote # include message in forwards set reverse_name # reply as whomever it was to set include = yes # include message in replies auto_view text/html # automatically show html (mailcap uses lynx) auto_view application/pgp-encrypted alternative_order text/plain text/enriched text/html bind index,pager i noop bind index,pager g noop bind index \Cf noop set pager_stop set menu_scroll set sort_re # General stuff set text_flowed unset mark_old set delete # don't ask, just do unset confirmappend # don't ask, just do! set quit # don't ask, just do!! # look and feel set menu_scroll set smart_wrap set tilde unset markers # headers and dates ignore * # first, ignore all headers unignore from: to: cc: date: subject: # then, show only these hdr_order from: to: cc: date: subject: # and in this order # unbindings bind index,pager g noop bind index,pager gg noop bind index,pager M noop bind index,pager C noop bind index,pager i noop bind index h noop bind index \Cf noop bind editor noop # General rebindings bind attach view-mailcap bind attach l view-mailcap bind index G last-entry bind index gg first-entry bind pager,attach h exit bind pager j next-line bind pager k previous-line bind pager l view-attachments bind index D delete-message bind index U undelete-message bind index L limit #bind browser h goto-parent bind index l display-message bind browser l select-entry #bind pager,browser gg top-page #bind pager,browser G bottom-page # General rebindings bind attach view-mailcap bind attach l view-mailcap bind index,pager,browser d half-down bind index,pager,browser u half-up bind index,pager S sync-mailbox bind index,pager R group-reply bind index \031 previous-undeleted # Mouse wheel bind index \005 next-undeleted # Mouse wheel bind pager \031 previous-line # Mouse wheel bind pager \005 next-line # Mouse wheel bind editor complete-query # Default index colors: color index default default '.*' #color index_author red default '.*' #color index_number green default #color index_subject cyan default '.*' #color index_date blue default # Status colors color status default black # Deleted mail is dulled color index brightblack default "~D" # Regex highlighting: color header blue default ".*" color header brightmagenta default "^(From)" color header brightcyan default "^(Subject)" color header brightwhite default "^(CC|BCC)" color body brightred default "[\-\.+_a-zA-Z0-9]+@[\-\.a-zA-Z0-9]+" # Email addresses color body brightblue default "(https?|ftp)://[\-\.,/%~_:?&=\#a-zA-Z0-9]+" # URL color body green default "\`[^\`]*\`" # Green text between ` and ` color body brightblue default "^# \.*" # Headings as bold blue color body brightcyan default "^## \.*" # Subheadings as bold cyan color body brightgreen default "^### \.*" # Subsubheadings as bold green color body white default "^(\t| )*(-|\\*) \.*" # List items as white color body brightcyan default "[;:][-o][)/(|]" # emoticons color body brightcyan default "[;:][)(|]" # emoticons color body brightcyan default "[ ][*][^*]*[*][ ]?" # more emoticon? color body brightcyan default "[ ]?[*][^*]*[*][ ]" # more emoticon? color body red default "(BAD signature)" color body cyan default "(Good signature)" color body brightblack default "^gpg: Good signature .*" color body brightwhite default "^gpg: " color body brightwhite red "^gpg: BAD signature from.*" mono body bold "^gpg: Good signature" mono body bold "^gpg: BAD signature from.*" color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-f][0-9a-f])*@)?((([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?|[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+)(:[0-9]+)?)|([a-z0-9_.!~*'()$,;:@&=+-]|%[0-9a-f][0-9a-f])+)(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*(/([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*(;([a-z0-9_.!~*'():@&=+$,-]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?(#([a-z0-9_.!~*'();/?:@&=+$,-]|%[0-9a-f][0-9a-f])*)?|(www|ftp)\\.(([a-z0-9]([a-z0-9-]*[a-z0-9])?)\\.)*([a-z]([a-z0-9-]*[a-z0-9])?)\\.?(:[0-9]+)?(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*(/([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*(;([-a-z0-9_.!~*'():@&=+$,]|%[0-9a-f][0-9a-f])*)*)*)?(\\?([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?(#([-a-z0-9_.!~*'();/?:@&=+$,]|%[0-9a-f][0-9a-f])*)?)[^].,:;!)? \t\r\n<>\"]" # GnuPG bootstrap # source ~/.mutt/gpg.rc