-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc
78 lines (72 loc) · 2.09 KB
/
muttrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#outgoing SMTP server
set smtp_url="smtp://USER@MAIL:587"
set smtp_pass="PASSWORD"
#incoming IMAP server
set folder="imap://USER@MAIL"
set imap_pass="PASSWORD"
set spoolfile="imap://USER@MAIL/INBOX"
#Sent mails
set record="imap://USER@MAIL/SENT"
#Enable header caching
set header_cache=~/.mutt_cache
#From header field
set realname="NAME LASTNAME"
set from="FULL MAIL"
set use_from=yes
#use VIM
set editor=/usr/bin/vim
#sort mail descending
set sort_aux=reverse-date-received
#set sort=threads
set sort=reverse-date-sent
set sort_re
#refresh mail key
bind index "^" imap-fetch-mail
#alias file
set alias_file=~/.mutt-alias
source ~/.mutt-alias
#set query_command="abook --mutt-query '%s'" macro index,pager A "<pipe-message>abook --add-email-quiet<return>" "add the sender address to abook"
# Reading Mail
set timeout=10
set mail_check=5
set move=no
set mark_old=no
ignore * # ignore all headers except for ...
unignore Date: From: To: CC: Bcc: Subject:
hdr_order Subject: Date: From: To: CC: Bcc:
set index_format="%{%b %d} %-15.15L [%Z] %s" # custom index format
# Composing Mail
set editor="vim"
set markers=no
set signature=~/.sig
set include=yes
set forward_format="Fwd: %s"
#Pretty colors
color normal default default
color status white blue
color index green default ~N # new
color index red default ~D # deleted
color index brightmagenta default ~T # tagged
color index brightyellow default ~F # flagged
color header green default "^Subject:"
color header yellow default "^Date:"
color header yellow default "^To:"
color header yellow default "^Cc:"
color header yellow default "^Bcc:"
color header yellow default "^From:"
color header red default "^X-.*:"
# View Special Formats
set mailcap_path=~/.mailcap
auto_view text/html # auto-render html inline mutt
alternative_order text/plain text/enriched text/html
#CC
set askcc=yes
#My custom macros
macro index S <change-folder>imap://USER@MAIL/Sent
macro index I <change-folder>imap://USER@MAIL/INBOX
#folders
set mbox="/home/USER/mail/mbox"
set folder="/home/USER/mail"
# forward
#set mime_forward=ask-yes
#set mime_forward_rest=yes