diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-12-11 11:50:56 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2023-12-11 11:50:56 +0100 |
| commit | 2bc64123214135f5eedecbd854c2a50279cf8dd7 (patch) | |
| tree | b7dd5d190f9b508088a254c8329d4517b8ada388 /.mbsyncrc | |
| parent | 91255345042b616c19fb0234eb87706abdc67907 (diff) | |
| download | dotfiles-2bc64123214135f5eedecbd854c2a50279cf8dd7.tar.gz dotfiles-2bc64123214135f5eedecbd854c2a50279cf8dd7.zip | |
SUSE has moved from Microsoft to Google
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.mbsyncrc')
| -rw-r--r-- | .mbsyncrc | 39 |
1 files changed, 33 insertions, 6 deletions
@@ -65,31 +65,58 @@ Channel gmail-sent # suse.com IMAPAccount comsuse -Host outlook.office365.com +Host imap.gmail.com User msabate@suse.com -PassCmd "~/bin/mutt_oauth2.py /home/mssola/data/mail/comsuse/sessionfile" +PassCmd "gpg2 -q --for-your-eyes-only --no-tty -d ~/.mbsyncpasssusecom.gpg" SSLType IMAPS -AuthMechs XOAUTH2 +AuthMechs Login CertificateFile /etc/ssl/ca-bundle.pem -Timeout 0 +# Use the account specified above as the remote storage. IMAPStore comsuse-remote Account comsuse +# Let's use /home/mssola/data/mail as the prefix for the local storage. MaildirStore comsuse-local Path /home/mssola/data/mail/comsuse/ Inbox /home/mssola/data/mail/comsuse/inbox SubFolders Verbatim -Channel comsuse +# We could have one only channel, and filter them through the Patterns +# directive. I prefer having multiple channels and then group them. + +Channel comsuse-inbox Far :comsuse-remote: Near :comsuse-local: -Patterns * !Calendar +Patterns "INBOX" +Create Both +Expunge Both +Sync All +SyncState * + +Channel comsuse-all +Far :comsuse-remote:"[Gmail]/Tot el correu" +Near :comsuse-local:"All" Create Both +Expunge Both Sync All +SyncState * + +Channel comsuse-sent +Far :comsuse-remote:"[Gmail]/Enviats" +Near :comsuse-local:"Sent" +Create Both Expunge Both +Sync All SyncState * +# And finally group everything here. + +Group comsuse +Channel comsuse-inbox +Channel comsuse-all +Channel comsuse-sent + ## # ajuntament: notice that in this case the mailbox is configured to 'Pull' only # and that deletions are not propagated. This is done to workaround the |
