summaryrefslogtreecommitdiffstats
path: root/.config/mutt/gmailrc
blob: c86573a381b2c91dacd0201db4394c1fb4a36758 (plain) (blame)
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
# vim: filetype=muttrc
# Gmail app password should be generated for this configuration file. Never use your proper password in a standard text field.
set imap_user = "YOURNAME@gmail.com"                       
set smtp_url = "smtp://YOURNAME@smtp.gmail.com:587/"       
set from = "YOURNAME@gmail.com"                            
set realname = "YOUR ACTUAL NAME"                                  
set mbox_type = Maildir
set sendmail = "/usr/bin/msmtp -a gmail"
set folder = "~/.Mail/Gmail"                     
set spoolfile = "+INBOX"                                      
set record = /dev/null
set mbox = "+[Gmail].All Mail"
set postponed = "+[Gmail].Drafts"                             
set header_cache = ~/.config/mutt/gmail/cache/headers            
set message_cachedir = ~/.config/mutt/gmail/cache/bodies         
set certificate_file = ~/.config/mutt/gmail/certificates  
set ssl_starttls = yes
set ssl_force_tls = yes

mailboxes +INBOX

bind index g noop
macro index gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index ga "<change-folder>=[Gmail].All Mail<enter>" "Go to all mail"
macro index gs "<change-folder>=[Gmail].Sent Mail<enter>" "Go to sent mail"
macro index gS "<change-folder>=[Gmail].Spam<enter>" "Go to spam"
macro index gt "<change-folder>=[Gmail].Trash<enter>" "Go to trash"
macro index gd "<change-folder>=[Gmail].Drafts<enter>" "Go to drafts"
macro index gl "<change-folder>=lingcircle<enter>" "Go to lingcircle"
macro index gr "<change-folder>=ugaroml<enter>" "Go to ugaroml"