diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-07-03 01:00:30 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-07-03 01:09:20 +0530 |
commit | d4614340a144ae9f2d685e9ab17da0ec8ea2d293 (patch) | |
tree | 0e21950d7a979ff361e0374a9499de02fc224daf /.config/neomutt/gmail_main | |
parent | 5745399290e1d253ec613d67d0e4a4e9406c8bb9 (diff) |
neomutt: more modular rc and adding colors
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Diffstat (limited to '.config/neomutt/gmail_main')
-rw-r--r-- | .config/neomutt/gmail_main | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/.config/neomutt/gmail_main b/.config/neomutt/gmail_main index 96e8980..071943a 100644 --- a/.config/neomutt/gmail_main +++ b/.config/neomutt/gmail_main @@ -1,3 +1,10 @@ +# Unset to properly repopulate the variables +unset smtp_pass +unset smtp_url +unset smtp_user +unset from +unset hostname + # Receive options set imap_pass="`pass show gmail/work/mutt`" set imap_user="`pass show gmail/work/name`"@gmail.com @@ -7,15 +14,17 @@ set record="+[Gmail]/Sent Mail" set postponed="+[Gmail]/Drafts" mailboxes =INBOX =[Gmail]/Sent\ Mail =[Gmail]/Drafts =[Gmail]/Spam =[Gmail]/Trash +set edit_headers=yes +set ssl_force_tls=yes +set ssl_starttls + # Show lable in mailbox mailboxes =gsoc # lable name mailboxes "imaps://`pass show gmail/work/name`@imap.gmail.com/gsoc" -# store message header locally -set header_cache=~/.cache/neomutt - -# store messages locally to speed things up -set message_cachedir="~/.cache/neomutt" +set header_cache = "$XDG_CACHE_HOME/neomutt/headers/" +set message_cachedir = "$XDG_CACHE_HOME/neomutt/bodies/" +set certificate_file = "$XDG_CACHE_HOME/neomutt/certificates/" # specify where to save and/or look for postponded messages set postponed=+[Gmail]/Drafts @@ -34,7 +43,7 @@ unset record ## Send options set smtp_url=smtps://`pass show gmail/work/name`:`pass show gmail/work/mutt`@smtp.gmail.com -set from=`pass show gmail/work/name`@gmail.com +set from=`pass show gmail/work/name` set hostname="gmail.com" set realname='listout' set use_from=yes |