summary refs log tree commit diff stats
path: root/offlineimap/.offlineimaprc
diff options
context:
space:
mode:
Diffstat (limited to 'offlineimap/.offlineimaprc')
-rw-r--r--offlineimap/.offlineimaprc31
1 files changed, 27 insertions, 4 deletions
diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc
index ea98729f..1e157934 100644
--- a/offlineimap/.offlineimaprc
+++ b/offlineimap/.offlineimaprc
@@ -1,6 +1,6 @@
 [general]
 # List of accounts to be synced, separated by a comma.
-accounts = alanpearce.eu
+accounts = alanpearce.eu, riseup.net
 pythonfile = ~/.offlineimap.py
 
 [Account alanpearce.eu]
@@ -10,13 +10,13 @@ localrepository = alanpearce.eu-local
 remoterepository = alanpearce.eu-remote
 autorefresh = 20
 quick = 2
-postsynchook = mu index --maildir=%(personalmaildir)s --lazy-check --nocleanup --quiet
+postsynchook = mu index --muhome=~/.cache/mu/alanpearce.eu --maildir=%(alanpearcemaildir)s --lazy-check --nocleanup --quiet
  
 [Repository alanpearce.eu-local]
 # OfflineIMAP supports Maildir, GmailMaildir, and IMAP for local repositories.
 type = Maildir
 # Where should the mail be placed?
-localfolders = %(personalmaildir)s
+localfolders = %(alanpearcemaildir)s
 
 [Repository alanpearce.eu-remote]
 # Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP.
@@ -30,5 +30,28 @@ holdconnectionopen = yes
 usecompression = yes
 idlefolders = ['INBOX']
 
+[Account riseup.net]
+localrepository = riseup.net-local
+remoterepository = riseup.net-remote
+autorefresh = 20
+quick = 2
+postsynchook = mu index --muhome=~/.cache/mu/riseup.net --maildir=%(riseupmaildir)s --lazy-check --nocleanup --quiet
+
+[Repository riseup.net-local]
+type = Maildir
+localfolders = %(riseupmaildir)s
+
+[Repository riseup.net-remote]
+type = IMAP
+remotehost = mail.riseup.net
+remoteuser = alanpearce
+remotepasseval = get_pass("mail/riseup.net")
+sslcacertfile = /etc/ssl/certs/ca-certificates.crt
+keepalive = 1740
+holdconnectionopen = yes
+usecompression = yes
+idlefolders = ['INBOX']
+
 [DEFAULT]
-personalmaildir = ~/mail/alanpearce
+alanpearcemaildir = ~/mail/personal/alanpearce
+riseupmaildir = ~/mail/personal/riseup