From 46a28c0496d4d8422056011556bde12e759ff6d1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 29 Aug 2017 21:14:31 +0200 Subject: Add riseup to email system --- offlineimap/.offlineimaprc | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'offlineimap/.offlineimaprc') diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc index ea98729..1e15793 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 -- cgit 1.4.1