]> git.rmz.io Git - dotfiles.git/blobdiff - mbsync/config
mbsync: rename deprecated isync to mbsync
[dotfiles.git] / mbsync / config
diff --git a/mbsync/config b/mbsync/config
new file mode 100644 (file)
index 0000000..ce7eb95
--- /dev/null
@@ -0,0 +1,127 @@
+# write state file into each slaves mailbox
+SyncState *
+Expunge Both
+Create Both
+CopyArrivalDate yes
+
+IMAPAccount     gmail
+Host            imap.gmail.com
+User            samir.benmendil@gmail.com
+PassCmd         "sed -En '/imap.gmail.com.*samir.benmendil@gmail.com/ s/.*password (.*)/\\1/p' ~/.netrc"
+AuthMechs       LOGIN
+SSLType         IMAPS
+SSLVersion      SSLv3
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore gmail-remote
+Account gmail
+
+MaildirStore gmail-local
+Path         ~/mail/gmail/
+Inbox        ~/mail/gmail/inbox/
+SubFolders   Verbatim
+
+Channel gmail-default
+Master  :gmail-remote:
+Slave   :gmail-local:
+Patterns "INBOX"
+
+Channel gmail-youtube
+Master  :gmail-remote:
+Slave   :gmail-local:
+Patterns "youtube"
+
+Channel gmail-youtube-orig
+Master  :gmail-remote:
+Slave   :gmail-local:
+Patterns "youtube-orig"
+
+Channel gmail-archive
+Master :gmail-remote:"[Google Mail]/All Mail"
+Slave :gmail-local:"archive"
+
+Channel gmail-drafts
+Master :gmail-remote:"[Google Mail]/Drafts"
+Slave :gmail-local:"drafts"
+
+Channel gmail-sent
+Master :gmail-remote:"[Google Mail]/Sent Mail"
+Slave :gmail-local:"sent"
+
+Channel gmail-spam
+Master :gmail-remote:"[Google Mail]/Spam"
+Slave :gmail-local:"spam"
+
+Channel gmail-flagged
+Master :gmail-remote:"[Google Mail]/Starred"
+Slave :gmail-local:"flagged"
+
+Channel gmail-bin
+Master :gmail-remote:"[Google Mail]/Bin"
+Slave :gmail-local:"bin"
+
+Group gmail
+Channel gmail-default
+Channel gmail-youtube
+Channel gmail-youtube-orig
+Channel gmail-archive
+Channel gmail-drafts
+Channel gmail-sent
+Channel gmail-spam
+Channel gmail-flagged
+Channel gmail-bin
+
+IMAPAccount     fpp
+Host            imap.gmail.com
+User            samir@fppnt.com
+PassCmd         "sed -En '/imap.gmail.com.*samir@fppnt.com/ s/.*password (.*)/\\1/p' ~/.netrc"
+AuthMechs       LOGIN
+SSLType         IMAPS
+SSLVersion      SSLv3
+CertificateFile /etc/ssl/certs/ca-certificates.crt
+
+IMAPStore fpp-remote
+Account fpp
+
+MaildirStore fpp-local
+Path         ~/mail/fpp/
+Inbox        ~/mail/fpp/inbox/
+SubFolders   Verbatim
+
+Channel fpp-default
+Master  :fpp-remote:
+Slave   :fpp-local:
+Patterns "INBOX"
+
+Channel fpp-archive
+Master :fpp-remote:"[Gmail]/All Mail"
+Slave :fpp-local:"archive"
+
+Channel fpp-drafts
+Master :fpp-remote:"[Gmail]/Drafts"
+Slave :fpp-local:"drafts"
+
+Channel fpp-sent
+Master :fpp-remote:"[Gmail]/Sent Mail"
+Slave :fpp-local:"sent"
+
+Channel fpp-spam
+Master :fpp-remote:"[Gmail]/Spam"
+Slave :fpp-local:"spam"
+
+Channel fpp-flagged
+Master :fpp-remote:"[Gmail]/Starred"
+Slave :fpp-local:"flagged"
+
+Channel fpp-bin
+Master :fpp-remote:"[Gmail]/Bin"
+Slave :fpp-local:"bin"
+
+Group fpp
+Channel fpp-default
+Channel fpp-archive
+Channel fpp-drafts
+Channel fpp-sent
+Channel fpp-spam
+Channel fpp-flagged
+Channel fpp-bin