Advertisement
Guest User

.muttrc

a guest
Jul 24th, 2012
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.54 KB | None | 0 0
  1. ### Mailboxes
  2. # Automatically log in to this mailbox at startup
  3.   set imap_pass             = MySecretPassword123456:-)
  4.   set spoolfile             = "imaps://mosladil@myserver.tld/INBOX"
  5.   set folder                = "imaps://mosladil@myserver.tld/INBOX"
  6.   set record                = "imaps://mosladil@myserver.tld/Sent Items"
  7.   set postponed             = "imaps://mosladil@myserver.tld/Drafts"
  8. #
  9. #
  10. ### IMAP Settings
  11. # Don't wait to enter mailbox manually
  12.   unset imap_passive
  13. # Automatically poll subscribed mailboxes for new mail (new in 1.5.11)
  14.   set imap_check_subscribed
  15. # And poll the current mailbox more often (not needed with IDLE in post 1.5.11)
  16.   set timeout               = 10
  17. # keep a cache of headers for faster loading (1.5.9+)
  18.   set header_cache          = ~/.hcache
  19. # Reduce polling frequency to a sane level (1.5.x)
  20.   set mail_check            = 60
  21. # Display download progress every 5K
  22.   set net_inc               = 5
  23.   set mark_old              = no
  24. #
  25. #
  26. ### Sender address
  27.   set from                  = "Miroslav Osladil <mosladil@kerio.com>"
  28.   set realname              = "Miroslav Osladil"
  29.   set reverse_name          = yes
  30.   set reverse_realname      = no
  31.   set envelope_from_address = "Miroslav Osladil <mosladil@kerio.com>"
  32.   set use_envelope_from
  33.   set smtp_url              = smtp://myserver.tld/
  34. #
  35. #
  36. ### GPG/PGP ###
  37.   set pgp_decode_command      = "gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
  38.   set pgp_verify_command      = "gpg --no-verbose --batch --output - --verify %s %f"
  39.   set pgp_decrypt_command     = "gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
  40.   set pgp_sign_command        = "gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
  41.   set pgp_clearsign_command   = "gpg --no-verbose --batch --output - --passphrase-fld 0 --armor --textmode --clearsign %?a?-u %a? %f"
  42.   set pgp_encrypt_only_command= "pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
  43.   set pgp_encrypt_sign_command= "pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
  44.   set pgp_import_command      = "gpg --no-verbose --import -v %f"
  45.   set pgp_export_command      = "gpg --no-verbose --export --armor %r"
  46.   set pgp_verify_key_command  = "gpg --no-verbose --batch --fingerprint --check-sigs %r"
  47.   set pgp_list_pubring_command= "gpg --no-verbose --batch --with-colons --list-keys %r"
  48.   set pgp_list_secring_command= "gpg --no-verbose --batch --with-colons --list-secret-keys %r"
  49. #
  50.   set pgp_sign_as             = 0xMYPGP
  51.   set pgp_timeout             = 1800
  52.   set pgp_good_sign           = "^gpg: Good signature from"
  53.   set pgp_auto_decode         = yes
  54. #
  55.   set pgp_autosign            = no
  56.   set pgp_autoencrypt         = no
  57.   set pgp_replyencrypt        = yes
  58.   set pgp_replysign           = yes
  59.   set pgp_replysignencrypted  = yes
  60. #
  61.   set crypt_verify_sig        = yes
  62.   set crypt_autosign          = no
  63.   set crypt_replysign         = yes
  64.   set crypt_replyencrypt      = yes
  65.   set crypt_replysignencrypted= yes
  66. #
  67. #
  68. ### Editor settings
  69.   set editor                = "vim -c \"set tw=72\""
  70.   set signature             = "~/.signature"
  71.   set sig_dashes            = yes    
  72. #
  73. #
  74. ### Message display
  75.   set smart_wrap
  76. # Do not move read messages out of inbox.. or something like that..
  77.   set nomove          
  78. # Don't jump to next message at end of message.
  79.   set pager_stop          
  80. # Internal Pager: ~~~~ at and of message?
  81.   set tilde            
  82.   ignore                    *
  83. #unignore                    from: subject to cc reply-to: date
  84. #unignore                    x-mailing-list: x-mailer
  85. #  hdr_order                 date from to cc reply-to: subject x-mailing-list
  86. #
  87.   alternative_order           text/plain text/enriched text/html
  88. #
  89. #
  90. ### Actions on send
  91.   unset force_name
  92. # should we keep ourselves in group replies?
  93.   unset metoo              
  94. # do not ask for to, subject,... when replying.
  95.   set fast_reply          
  96. # Mail-Followup-To header is honored?
  97.   set honor_followup_to  
  98. # quote message, when replying
  99.   set include=yes          
  100.   my_hdr From: Miroslav Osladil <mosladil@kerio.com>
  101.   set charset              = utf-8
  102. #  set ascii_chars          = yes
  103. #
  104. #
  105. ### Index display
  106.   set sort                  = threads
  107.   set sort_aux              = date
  108.   set pager_index_lines     = 12
  109.   set index_format          = " %M %C %Z [%d] | %-18.18L | %s"
  110.   set date_format           = "%Y-%m-%d %H:%M"
  111.   set folder_format         = "%N %f"
  112. # Do not use "->" as cursor (tho it is faster on slow networks).
  113.   unset arrow_cursor
  114. # Use Line-draw, not ASCII chars for threading arrows.
  115.   unset ascii_chars      
  116. # beep on new mail
  117.   set beep_new
  118.   set quit                  = ask-yes
  119. #
  120. #
  121. ### Macros
  122.   macro index c "<change-folder>?<toggle-mailboxes>" "open a different folder"
  123.   macro pager c "<change-folder>?<toggle-mailboxes>" "open a different folder"
  124.   macro index C "<copy-message>?<toggle-mailboxes>" "copy a message to a mailbox"
  125.   macro index M "<save-message>?<toggle-mailboxes>" "move a message to a mailbox"
  126.   macro compose A "<attach-message>?<toggle-mailboxes>" "attach message(s) to this message"
  127. #
  128. #
  129. ### Colors
  130.   color normal      default      default
  131.   color error       red          default  # global
  132. #
  133. # Index settings.. Start with white on whatever,
  134. # then override the rest :P
  135.   color index       white        default  ".*"
  136.   color indicator   brightwhite  green    # index
  137.   color status      white        blue     # index status bar white: default white
  138.   color tree        green        default
  139. # Make NEW messages stand out
  140.   color index       brightwhite  default  "~N"
  141. # Highlight messages tagget important (!)
  142.   color index       brightred    default  "~F"
  143. #
  144. # Set up colors for headers and pager display,,
  145.   color header      green        default  ".*"
  146.   color header      yellow       default  "^(From|Date|To).*"
  147.   color header      brightyellow default  "^(Subject).*"
  148.   color signature   magenta      default
  149.   color attachment  green        default  # ..
  150.   color tilde       blue         default  # pager body
  151. # Four levels of quotes..
  152. #color quoted      green        default  # pager body
  153.   color quoted0     yellow       default
  154.   color quoted1     cyan         default
  155.   color quoted3     green        default
  156.   color quoted4     blue         default
  157. # colorise smileys
  158.   color body        yellow       default  "[;:]-[)/(|]"
  159.   color body        yellow       default  "[;:][)/(|]"
  160. # URLs (General Internet addresses):
  161.   color body        brightblue   default  "(finger|ftp|http|news|telnet)://[^ >]*"
  162.   color body        brightblue   default  "<URL:[^ ]*>"
  163. # web address without "http":
  164.   color body        brightblue   default  "www\\.[-.a-z0-9]+\\.[a-z][a-z][a-z]?([-_./~a-z0-9]+)?"
  165. # HTTPS addresses:
  166.   color body        brightblue   default  "https://[^ >]*"
  167. # FTP addresses:
  168.   color body        brightblue   default  "ftp://[^ ]*"
  169. # Mailto links with a optional subject line:
  170. # Example: mailto:mosladil@kerio.com?subject=mutt
  171.   color body        brightblue   default  "[[:alnum:]][-+.#_[:alnum:]]*@[-+.[:alnum:]]*[[:alnum:]]"
  172.   color body        brightblue   default  "mailto: *[^ ]+\(\\?subject=[^ ]+\)?"
  173. # *Emphasized*, /emphasized/, and _emphasized_ words:
  174.   color body        brightwhite  default  " [*][-[:alnum:]]+[*] "
  175.   color body        brightwhite  default  " /[-[:alnum:]]+/ "
  176.   color body        brightwhite  default  " _[-[:alnum:]]+_ "
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement