-
Notifications
You must be signed in to change notification settings - Fork 2
/
.muttrc
50 lines (43 loc) · 1.71 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
# .muttrc for Gmail IMAP and SMTP setup
# Put "set smtp_pass=pass" and "set imap_pass=pass" in separate file.
# If the file does not exist, Mutt will print a warning and ask for passwords.
source ~/.muttrc.passwords
set imap_user = "[email protected]"
# if no password, mutt will ask
#set smtp_pass = "<password>"
#set imap_pass = "<password>"
## mutt can use smtp directly or use sendmail (see sendmail below)
#set smtp_url = "smtp://[email protected]:587/"
set folder = "imaps://imap.gmail.com:993/"
set spoolfile = "+INBOX"
set record = "+[Google Mail]/Sent Mail"
set postponed = "+[Google Mail]/Drafts"
# spoolfile, record and postponed can be relative (with +) or absolute
# (set spoolfile = "imaps://imap.gmail.com:993/INBOX")
set sendmail=/usr/bin/msmtp
set copy = no
set header_cache = ~/.mutt/cache/headers
set message_cachedir = ~/.mutt/cache/bodies
set certificate_file = ~/.mutt/certificates
# non-important(?) settings
set from = "[email protected]"
set realname = "Bjørn Forsman"
# other trivial settings
set move = no # stop asking about "move to mbox"
# a bit more vim/vimperator like
#bind pager "j" next-line
#bind pager "k" previous-line
# other settings
set sort = "threads"
set sort_aux = "last-date-received"
set imap_check_subscribed
ignore "Authentication-Results:"
ignore "DomaniKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
# some handy keybindings
#bind editor <space> noop
macro index gi "<change-folder> =INBOX<enter>" "Go to inbox"
macro index ga "<change-folder> =[Google Mail]/All Mail<enter>" "Go to All Mail"
macro index gs "<change-folder> =[Google Mail]/Sent Mail<enter>" "Go to Sent Mail"
macro index gd "<change-folder> =[Google Mail]/Drafts<enter>" "Go to Drafts"