X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c3a03e540dae7adafed0124b1a83c63436b597d7..c6a94b49c00ea320c67909cbe0d2df2f95d4fbb9:/mutt/accounts/gmail?ds=sidebyside diff --git a/mutt/accounts/gmail b/mutt/accounts/gmail index f5e0422..468347c 100644 --- a/mutt/accounts/gmail +++ b/mutt/accounts/gmail @@ -1,4 +1,26 @@ # vim: ft=muttrc set realname = "Samir Benmendil" set from = "samir.benmendil@gmail.com" -my_hdr Bcc: $from +my_hdr Bcc: samir.benmendil@gmail.com +set sendmail = "msmtp -a gmail" + +set spoolfile = "+gmail/inbox" # set inbox +set postponed = "+gmail/drafts" # drafts folder +unset record # do not move sent msgs to a folder, gmail does that +unset move # do not move read msgs, gmail does that + +# goobook +set query_command = "goobook query '%s'" + +mailboxes "+gmail/inbox" +mailboxes "+gmail/sent" +mailboxes "+gmail/youtube" +mailboxes "+gmail/archive" +mailboxes "+gmail/drafts" +mailboxes "+gmail/spam" +mailboxes "+gmail/bin" + +macro index,pager gi "=gmail/inbox" "go to inbox" +macro index,pager gy "=gmail/youtube" "go to youtube" +macro index,pager ga "=gmail/archive" "go to archive" +macro index,pager gs "=gmail/spam" "go to spam"