From 168120d4068eff9816c11f0503738c12861821ae Mon Sep 17 00:00:00 2001 From: bard Date: Mon, 15 Apr 2024 06:24:14 -0400 Subject: initial commit --- mbsync/.mbsyncrc | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 mbsync/.mbsyncrc (limited to 'mbsync/.mbsyncrc') diff --git a/mbsync/.mbsyncrc b/mbsync/.mbsyncrc new file mode 100644 index 0000000..d889482 --- /dev/null +++ b/mbsync/.mbsyncrc @@ -0,0 +1,42 @@ +IMAPAccount home +Host imap.gmail.com +UserCmd "gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/ACCOUNT_NAME/ { print $(NF-2); exit; }'" +PassCmd "gpg -q --for-your-eyes-only -d ~/.authinfo.gpg | awk -F ' ' '/ACCOUNT_NAME/ { print $NF; exit; }'" +SSLType IMAPS +AuthMechs LOGIN + +IMAPStore home-remote +Account home + +MaildirStore home-local +Subfolders Verbatim +# The trailing "/" is important +Path ~/Mail/ACCOUNT_NAME@gmail.com/ +Inbox ~/Mail/ACCOUNT_NAME@gmail.com/Inbox + +Channel home-inbox +Far :home-remote: +Near :home-local: +Patterns "INBOX" + +Channel home-sent +Far :home-remote:"[Gmail]/Sent Mail" +Near :home-local:sent + +Channel home-trash +Far :home-remote:"[Gmail]/Trash" +Near :home-local:trash + +Group home +Channel home-inbox +Channel home-sent +Channel home-trash + +# Gmail mailboxes: +# "All Mail" +# "Drafts" +# "Important" +# "Sent Mail" +# "Spam" +# "Starred" +# "Trash" \ No newline at end of file -- cgit v1.2.3