dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

muttrc (2906B)


      1 # ░█▄█░█░█░▀█▀░▀█▀░░
      2 # ░█░█░█░█░░█░░░█░░░
      3 # ░▀░▀░▀▀▀░░▀░░░▀░░░
      4 
      5 # set password
      6 set my_pass = "`pass email/pyratebeard/passwd`"
      7 set my_smtp_url = "`pass email/pyratebeard/smtp_url`"
      8 
      9 # imap
     10 unset imap_passive
     11 set imap_keepalive = 300
     12 
     13 # smtp
     14 set smtp_url = $my_smtp_url
     15 set smtp_authenticators=”login”
     16 set smtp_pass = $my_pass
     17 
     18 # user details
     19 set from = "root@pyratebeard.net"
     20 set realname = "pyratebeard"
     21 
     22 # mailbox
     23 set header_cache = "~/.mutt/cache/headers"
     24 set message_cachedir = "~/.mutt/cache/"
     25 set certificate_file = "~/.mutt/certificates"
     26 set mbox_type = Maildir
     27 set folder = "~/.local/var/mbox/pyratebeard"
     28 set spoolfile = +INBOX
     29 set record  = "+INBOX.Sent"
     30 set postponed = "+INBOX.Drafts"
     31 mailboxes = =INBOX
     32 set mail_check = 120
     33 set collapse_unread = no
     34 set sort = threads
     35 set sort_aux = reverse-date-received
     36 
     37 # colours
     38 color normal default default
     39 color indicator color11 color8
     40 color tree default default
     41 color status white black
     42 color index white color8 "~T"
     43 color index color6 default "~U"
     44 color index color15 default "~O"
     45 color index red black "~D"
     46 color index color14 default "~F"
     47 color index color13 default "~g"
     48 color index color0 color13 "~G"
     49 
     50 # pgp
     51 source "~/.mutt/gpg.rc"
     52 set pgp_autosign = yes
     53 set pgp_use_gpg_agent = yes
     54 
     55 # compose
     56 set editor = vim
     57 set askcc = yes
     58 set askbcc = yes
     59 set autoedit = yes
     60 set edit_headers = yes
     61 set text_flowed
     62 set signature = ~/.mutt/signature
     63 
     64 # display
     65 set index_format = "%4C %Z %-30.30L %M %s"
     66 folder-hook . "push <collapse-all>\n"
     67 bind index - collapse-thread
     68 set sort=reverse-threads
     69 set sort_aux=date-received
     70 unset markers
     71 
     72 # handling for multi-part and html messages
     73 set mailcap_path = ~/.mailcap"
     74 auto_view text/html
     75 alternative_order text/html text/plain
     76 set display_filter = "~/.local/bin/mailfmtshort"
     77 
     78 # sidebar
     79 set sidebar_visible = no
     80 set sidebar_folder_indent = yes
     81 set sidebar_indent_string = ".."
     82 set sidebar_short_path = yes
     83 bind index,pager B sidebar-toggle-visible
     84 
     85 # move the highlight to the previous mailbox
     86 bind index,pager \Cp sidebar-prev
     87 
     88 # move the highlight to the next mailbox
     89 bind index,pager \Cn sidebar-next
     90 
     91 # open the highlighted mailbox
     92 bind index,pager \Co sidebar-open
     93 
     94 # move the highlight to the previous page
     95 # this is useful if you have a LOT of mailboxes.
     96 bind index,pager <F3> sidebar-page-up
     97 
     98 # move the highlight to the next page
     99 # this is useful if you have a LOT of mailboxes.
    100 bind index,pager <F4> sidebar-page-down
    101 
    102 # move the highlight to the previous mailbox containing new, or flagged,
    103 # mail.
    104 bind index,pager <F5> sidebar-prev-new
    105 
    106 # move the highlight to the next mailbox containing new, or flagged, mail.
    107 bind index,pager <F6> sidebar-next-new
    108 
    109 # toggle the visibility of the sidebar.
    110 bind index,pager B sidebar-toggle-visible
    111 
    112 # macros
    113 macro attach W "<save-entry><bol>~/tmp/<eol>"