Skip to content

Instantly share code, notes, and snippets.

@tknv
Last active June 16, 2022 20:17
Show Gist options
  • Save tknv/b1f3cc4c59cd5088dad74e425bb1a33f to your computer and use it in GitHub Desktop.
Save tknv/b1f3cc4c59cd5088dad74e425bb1a33f to your computer and use it in GitHub Desktop.
isync office365
IMAPAccount work
Host outlook.office365.com
User [email protected]
PassCmd "pass mail/work-gpg"
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt
IMAPStore work-remote
Account work
MaildirStore work-local
Path ~/mail/work/
Inbox ~/mail/work/Inbox
Channel work
Master :work-remote:
Slave :work-local:
# Include everything
Patterns "INBOX" "*"
# Automatically create missing mailboxes, both locally and on the server
Create Both
Sync All
# Save the synchronization state files in the relevant directory
SyncState *
@vnckppl
Copy link

vnckppl commented Dec 6, 2020

@japhir
Copy link

japhir commented Dec 7, 2020

Thanks @vnckppl! I've tried it out now, but get an error :( harishkrupo/oauth2ms#1

@tknv
Copy link
Author

tknv commented Dec 12, 2020 via email

@japhir
Copy link

japhir commented Jan 5, 2021

@vnckppl I've resolved my issue, I was copying over the wrong secret thingie :S.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment