X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f57295e7aea3635dcb049969d990cf5cebf717b1..c6a94b49c00ea320c67909cbe0d2df2f95d4fbb9:/mutt/accounts/gmail diff --git a/mutt/accounts/gmail b/mutt/accounts/gmail index 4de7f42..468347c 100644 --- a/mutt/accounts/gmail +++ b/mutt/accounts/gmail @@ -1,5 +1,26 @@ # vim: ft=muttrc set realname = "Samir Benmendil" -set from = "me@rmz.io" -unmy_hdr Bcc: -my_hdr Bcc: $from +set from = "samir.benmendil@gmail.com" +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"