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 | |
Adrià Vilanova Martínez | b2fe16d | 2025-01-25 16:23:38 +0100 | [diff] [blame^] | 6 | ExpireUnread no |
| 7 | |
Adrià Vilanova Martínez | 227df18 | 2024-12-27 20:06:39 +0100 | [diff] [blame] | 8 | IMAPAccount gmail |
| 9 | Host imap.gmail.com |
| 10 | # The User and PassCmd fields are not available in dotfiles-external, only in |
| 11 | # the private repo, sorry. |
| 12 | AuthMechs XOAUTH2 |
| 13 | TLSType IMAPS |
| 14 | |
| 15 | IMAPStore gmail-remote |
| 16 | Account gmail |
| 17 | |
| 18 | MaildirStore gmail-local |
| 19 | SubFolders Verbatim |
| 20 | Path ~/.mail/gmail/ |
| 21 | Inbox ~/.mail/gmail/Inbox |
| 22 | |
| 23 | Channel gmail-inbox |
| 24 | Far :gmail-remote: |
| 25 | Near :gmail-local: |
| 26 | Patterns "INBOX" "[Gmail]/Drafts" |
| 27 | Create Both |
| 28 | Expunge Both |
| 29 | SyncState * |
Adrià Vilanova Martínez | d55850f | 2025-01-25 16:23:38 +0100 | [diff] [blame] | 30 | |
| 31 | Channel gmail-sent |
| 32 | Far :gmail-remote: |
| 33 | Near :gmail-local: |
| 34 | Patterns "[Gmail]/Sent Mail" |
| 35 | Create Both |
| 36 | Expunge Both |
| 37 | SyncState * |
| 38 | MaxMessages 100 |
| 39 | |
| 40 | Group gmail |
| 41 | Channel gmail-inbox |
| 42 | Channel gmail-sent |