-
Notifications
You must be signed in to change notification settings - Fork 0
/
muttrc
66 lines (63 loc) · 2.04 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
# A basic .muttrc for use with Gmail
# Change the following six lines to match your Gmail account details
set imap_user = "@userName@gmail.com"
set imap_pass = "@password"
set smtp_url = "smtp://@userName@smtp.gmail.com:587/"
set smtp_pass = "@password"
set from = "@userName@gmail.com"
set realname = "@realName"
# Change the following line to a different editor you prefer.
set editor = "emacs"
# Basic config, you can leave this as is
set folder = "imaps://imap.gmail.com/"
set spoolfile = "+INBOX"
set imap_check_subscribed
set hostname = gmail.com
set mail_check = 5
#Polling on gmail inbox.
set timeout = 10
set imap_keepalive = 300
set postponed = "+[Gmail]/Brouillons"
#Statistic
#Fetch the number of items by mailbox.
set mail_check_stats = yes
set mail_check_stats_interval = 5
#index format with time date %H:%M:%S %d/%m/%Y
# 15:05:30 10/05/2021
set index_format = "%4C %Z %{%H:%M:%S %d/%m/%Y} %-15.15L (%?l?%4l&%4c?) %s"
#SideBar Format
set sidebar_width = 40
set sidebar_format = "%B%* %n %5N(%5S)"
#Sidebar key binding
#Control arrow up select mailbox above
#Control arrow down select mailbox under
#Control arrow right open selected mailbox
#Control arrow left toggle the sidebar
bind index,pager <C-Up> sidebar-prev
bind index,pager <C-Down> sidebar-next
bind index,pager <C-Right> sidebar-open
bind index,pager <C-Left> sidebar-toggle-visible
#Automaticallly managed by GMail.
#set record = "+[Gmail]/Messages envoyés"
set trash ="+[Gmail]/Corbeille"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set sidebar_visible = yes
set include
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
#end-----------------------------------------
source ~/.mail_aliases
set alias_file=~/.mail_aliases