Adrià Vilanova MartÃnez | 227df18 | 2024-12-27 20:06:39 +0100 | [diff] [blame] | 1 | # Config file for isync's mbsync |
| 2 | # |
| 3 | # Heavily inspired by: |
| 4 | # https://wiki.archlinux.org/index.php?title=Isync&oldid=823186#Configuring. |
| 5 | |
| 6 | IMAPAccount gmail |
| 7 | Host imap.gmail.com |
| 8 | # The User and PassCmd fields are not available in dotfiles-external, only in |
| 9 | # the private repo, sorry. |
| 10 | AuthMechs XOAUTH2 |
| 11 | TLSType IMAPS |
| 12 | |
| 13 | IMAPStore gmail-remote |
| 14 | Account gmail |
| 15 | |
| 16 | MaildirStore gmail-local |
| 17 | SubFolders Verbatim |
| 18 | Path ~/.mail/gmail/ |
| 19 | Inbox ~/.mail/gmail/Inbox |
| 20 | |
| 21 | Channel gmail-inbox |
| 22 | Far :gmail-remote: |
| 23 | Near :gmail-local: |
| 24 | Patterns "INBOX" "[Gmail]/Drafts" |
| 25 | Create Both |
| 26 | Expunge Both |
| 27 | SyncState * |