Skip to content

Instantly share code, notes, and snippets.

@benjaminpreiss
Last active February 1, 2021 23:56
Show Gist options
  • Save benjaminpreiss/bb7629ae20f5f3db84ef7e808667ccf8 to your computer and use it in GitHub Desktop.
Save benjaminpreiss/bb7629ae20f5f3db84ef7e808667ccf8 to your computer and use it in GitHub Desktop.
# Sample minimal config file. Copy this to ~/.offlineimaprc and edit to
# get started fast.
[general]
accounts = Account1,Account2,Account3
maxsyncaccounts = 1
ui = TTYUI
[Account Account1]
localrepository = LocalAccount1
remoterepository = RemoteAccount1
[Repository LocalAccount1]
type = Maildir
localfolders = ~/linux-files-wsl/Account1
sync_deletes = no
[Repository RemoteAccount1]
type = IMAP
starttls = yes
ssl = yes
#sslclientcert = /path/to/file.crt
#sslclientkey = /path/to/file.key
sslcacertfile = /etc/ssl/certs/*****
#cert_fingerprint = <SHAn_of_server_certificate_here>[, <another_SHAm>]
remoteport = 993
remotehost = *****
remoteuser = *****
remotepass = *****
auth_mechanisms = GSSAPI, XOAUTH2, CRAM-MD5, PLAIN, LOGIN
expunge = no
readonly = True
[Account Account2]
localrepository = LocalAccount2
remoterepository = RemoteAccount2
[Repository LocalAccount2]
type = Maildir
localfolders = ~/linux-files-wsl/Account2
sync_deletes = no
[Repository RemoteAccount2]
type = IMAP
starttls = yes
ssl = yes
#sslclientcert = /path/to/file.crt
#sslclientkey = /path/to/file.key
sslcacertfile = /etc/ssl/certs/****
#cert_fingerprint = <SHAn_of_server_certificate_here>[, <another_SHAm>]
remoteport = 993
remotehost = ****
remoteuser = *****
remotepass = ******
auth_mechanisms = GSSAPI, XOAUTH2, CRAM-MD5, PLAIN, LOGIN
expunge = no
readonly = True
[Account Account3]
localrepository = LocalAccount3
remoterepository = RemoteAccount3
[Repository LocalAccount3]
type = Maildir
localfolders = ~/linux-files-wsl/Account3
sync_deletes = no
[Repository RemoteAccount3]
type = IMAP
starttls = yes
ssl = yes
#sslclientcert = /path/to/file.crt
#sslclientkey = /path/to/file.key
sslcacertfile = /etc/ssl/certs/*******
#cert_fingerprint = <SHAn_of_server_certificate_here>[, <another_SHAm>]
remoteport = 993
remotehost = *****
remoteuser = *****
remotepass = ******
auth_mechanisms = GSSAPI, XOAUTH2, CRAM-MD5, PLAIN, LOGIN
expunge = no
readonly = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment