]> git.rmz.io Git - dotfiles.git/blobdiff - mbsync/config
mbsync: sync tickets and dmarc dirs
[dotfiles.git] / mbsync / config
index 16baaf2c9dd3c12e295552c04228ec6de648ec42..bebb49d7f97bf71263ed063060d0b2ca0793b6fd 100644 (file)
@@ -9,8 +9,8 @@ Host            imap.mailfence.com
 User            samirbenmendil
 PassCmd         "sed -En '/imap.mailfence.com.*samirbenmendil/ s/.*password (.*)/\\1/p' ~/.netrc"
 AuthMechs       LOGIN
-SSLType         IMAPS
-SSLVersions     TLSv1.2
+TLSType         IMAPS
+TLSVersions     +1.2
 CertificateFile /etc/ssl/certs/ca-certificates.crt
 
 IMAPStore mailfence-remote
@@ -42,10 +42,10 @@ Channel mailfence/bin
 Far  :mailfence-remote:"Trash"
 Near :mailfence-local:"trash"
 
-Channel mailfence/youtube
+Channel mailfence-dir
 Far  :mailfence-remote:
 Near :mailfence-local:
-Patterns youtube*
+Patterns !*   # By default, don't match anything, this can be overriden in Group
 
 Channel mailfence/archive
 Far  :mailfence-remote:
@@ -58,53 +58,61 @@ Channel mailfence/drafts
 Channel mailfence/sent
 Channel mailfence/spam
 Channel mailfence/bin
-Channel mailfence/youtube
 Channel mailfence/archive
-
-IMAPAccount     wio
-Host            outlook.office365.com
-User            sbenmendil@witekio.com
-PassCmd         "sed -En '/outlook.*sbenmendil@witekio.com/ s/.*password (.*)/\\1/p' ~/.netrc"
-AuthMechs       LOGIN
-SSLType         IMAPS
+Channel mailfence-dir:important
+Channel mailfence-dir:tickets
+Channel mailfence-dir:dmarc
+
+IMAPAccount     fpp
+Host            imap.gmail.com
+User            samir@fppnt.com
+PassCmd         "~/.config/mutt/mutt_oauth2.py ~/.cache/mutt_oauth2/samir@fppnt.com.tokens"
+AuthMechs       XOAUTH2
+TLSType         IMAPS
 CertificateFile /etc/ssl/certs/ca-certificates.crt
 
-IMAPStore wio-remote
-Account wio
+IMAPStore fpp-remote
+Account fpp
 
-MaildirStore wio-local
-Path         ~/mail/wio/
-Inbox        ~/mail/wio/inbox/
+MaildirStore fpp-local
+Path         ~/mail/fpp/
+Inbox        ~/mail/fpp/inbox/
 SubFolders   Verbatim
 
-Channel wio/inbox
-Far  :wio-remote:
-Near :wio-local:
-
-Channel wio/archive
-Far  :wio-remote:"Archive"
-Near :wio-local:"archive"
-
-Channel wio/drafts
-Far  :wio-remote:"Drafts"
-Near :wio-local:"drafts"
-
-Channel wio/sent
-Far  :wio-remote:"Sent Items"
-Near :wio-local:"sent"
-
-Channel wio/spam
-Far  :wio-remote:"Junk Email"
-Near :wio-local:"spam"
-
-Channel wio/bin
-Far  :wio-remote:"Deleted Items"
-Near :wio-local:"bin"
-
-Group wio
-Channel wio/inbox
-Channel wio/archive
-Channel wio/drafts
-Channel wio/sent
-Channel wio/spam
-Channel wio/bin
+Channel fpp/inbox
+Far  :fpp-remote:
+Near :fpp-local:
+Patterns "INBOX"
+
+Channel fpp/archive
+Far  :fpp-remote:"[Gmail]/All Mail"
+Near :fpp-local:"archive"
+
+Channel fpp/drafts
+Far  :fpp-remote:"[Gmail]/Drafts"
+Near :fpp-local:"drafts"
+
+Channel fpp/sent
+Far  :fpp-remote:"[Gmail]/Sent Mail"
+Near :fpp-local:"sent"
+
+Channel fpp/spam
+Far  :fpp-remote:"[Gmail]/Spam"
+Near :fpp-local:"spam"
+
+Channel fpp/flagged
+Far  :fpp-remote:"[Gmail]/Starred"
+Near :fpp-local:"flagged"
+
+Channel fpp/bin
+Far  :fpp-remote:"[Gmail]/Trash"
+Near :fpp-local:"bin"
+
+Group fpp
+Channel fpp/inbox
+Channel fpp/archive
+Channel fpp/drafts
+Channel fpp/sent
+Channel fpp/spam
+Channel fpp/flagged
+Channel fpp/bin