aboutsummaryrefslogtreecommitdiff
path: root/mbsync/.mbsyncrc
diff options
context:
space:
mode:
authorbard <[email protected]>2024-04-15 06:24:14 -0400
committerbard <[email protected]>2024-04-15 06:24:14 -0400
commit168120d4068eff9816c11f0503738c12861821ae (patch)
tree635e839eeca920432fcaa8417b282e074e84a4c2 /mbsync/.mbsyncrc
initial commit
Diffstat (limited to 'mbsync/.mbsyncrc')
-rw-r--r--mbsync/.mbsyncrc42
1 files changed, 42 insertions, 0 deletions
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/[email protected]/
+Inbox ~/Mail/[email protected]/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