aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/offlineimaprc
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2019-09-05 09:21:31 +0200
committerneodarz <neodarz@neodarz.net>2019-09-05 09:21:31 +0200
commita7838c4513bdc183c98e560a724162c472674558 (patch)
tree80320810ec83c5093aefd63a6113cb576d1efc91 /dotfiles/offlineimaprc
parentb85fe9763068078b622baf22ee98b54b5e008385 (diff)
downloaddotfiles_dotdrop-a7838c4513bdc183c98e560a724162c472674558.tar.xz
dotfiles_dotdrop-a7838c4513bdc183c98e560a724162c472674558.zip
Add offlineimap config
Diffstat (limited to 'dotfiles/offlineimaprc')
-rw-r--r--dotfiles/offlineimaprc38
1 files changed, 38 insertions, 0 deletions
diff --git a/dotfiles/offlineimaprc b/dotfiles/offlineimaprc
new file mode 100644
index 0000000..f0db668
--- /dev/null
+++ b/dotfiles/offlineimaprc
@@ -0,0 +1,38 @@
+# Sample minimal config file. Copy this to ~/.offlineimaprc and edit to
+# get started fast.
+
+[general]
+accounts = neodarz, corentin.breton
+pythonfile = ~/.offlineimap.py
+
+[Account neodarz]
+localrepository = neodarz-local
+remoterepository = neodarz-remote
+
+[Repository neodarz-local]
+type = Maildir
+localfolders = ~/Mail/neodarz@neodarz.net
+
+[Repository neodarz-remote]
+type = IMAP
+remotehost = mail.neodarz.net
+remoteuser = neodarz@neodarz.net
+remotepasseval = get_pass("neodarz@neodarz.net")
+ssl = yes
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+
+[Account corentin.breton]
+localrepository = corentin.breton-local
+remoterepository = corentin.breton-remote
+
+[Repository corentin.breton-local]
+type = Maildir
+localfolders = ~/Mail/corentin.breton@neodarz.net
+
+[Repository corentin.breton-remote]
+type = IMAP
+remotehost = mail.neodarz.net
+remoteuser = corentin.breton@neodarz.net
+remotepasseval = get_pass("corentin.breton@neodarz.net")
+ssl = yes
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt