From 8ecebca67bc62144e46df1a919a0fdd033b7fdbb Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 7 Oct 2012 18:30:14 +0200 Subject: Enable sqlite backend. Drop notmuch hook. Add cacert. Bump maxconnections. Add lb accounts. Modernize dovecot for some accounts. --- .offlineimaprc | 82 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 64 insertions(+), 18 deletions(-) diff --git a/.offlineimaprc b/.offlineimaprc index 34aab00..b97ca6a 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -3,108 +3,138 @@ [general] ui = blinkenlights -#accounts = jones, debian, bb, hb, bu, dgih, lab, jones-more, debian-more, bb-more, hb-more, bu-more, dgih-more, lab-more -accounts = jones, debian, hb, bu, dgih, lab, db, jones-more, debian-more, hb-more, bu-more, dgih-more, lab-more, db-more +accounts = jones, debian, bb, hb, bu, dgih, lab, db, lb, jones-more, debian-more, hb-more, bu-more, dgih-more, lab-more, db-more, lb-more maxsyncaccounts = 20 -maxconnections = 3 +maxconnections = 10 pythonfile = ~/.offlineimap.py +#sslcacertfile = /etc/ssl/certs/ca-certificates.crt +sslcacertfile = /etc/ssl/certs/cacert.org.pem [Account jones] localrepository = jones-here remoterepository = jones-there autorefresh = 5 quick = 10 -postsynchook = notmuch new +status_backend = sqlite [Account jones-more] localrepository = jones-here remoterepository = jones-there-more autorefresh = 30 quick = 10 +status_backend = sqlite [Account debian] localrepository = debian-here remoterepository = debian-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account debian-more] localrepository = debian-here remoterepository = debian-there-more autorefresh = 30 quick = 10 +status_backend = sqlite [Account bb] localrepository = bb-here remoterepository = bb-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account bb-more] localrepository = bb-here remoterepository = bb-there-more autorefresh = 0 quick = 10 +status_backend = sqlite [Account hb] localrepository = hb-here remoterepository = hb-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account hb-more] localrepository = hb-here remoterepository = hb-there-more autorefresh = 30 quick = 10 +status_backend = sqlite [Account bu] localrepository = bu-here remoterepository = bu-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account bu-more] localrepository = bu-here remoterepository = bu-there-more autorefresh = 30 quick = 10 +status_backend = sqlite [Account db] localrepository = db-here remoterepository = db-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account db-more] localrepository = db-here remoterepository = db-there-more autorefresh = 30 quick = 10 +status_backend = sqlite + +[Account lb] +localrepository = lb-here +remoterepository = lb-there +autorefresh = 5 +quick = 10 +status_backend = sqlite + +[Account lb-more] +localrepository = lb-here +remoterepository = lb-there-more +autorefresh = 30 +quick = 10 +status_backend = sqlite [Account dgih] localrepository = dgih-here remoterepository = dgih-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account dgih-more] localrepository = dgih-here remoterepository = dgih-there-more autorefresh = 30 quick = 10 +status_backend = sqlite [Account lab] localrepository = lab-here remoterepository = lab-there autorefresh = 5 quick = 10 +status_backend = sqlite [Account lab-more] localrepository = lab-here remoterepository = lab-there-more autorefresh = 30 quick = 10 +status_backend = sqlite [Repository jones-here] type = Maildir @@ -112,13 +142,13 @@ localfolders = ~/Maildir/jones [Repository jones-there] type = IMAP -preauthtunnel = ssh -C -q mail.jones.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository jones-there-more] type = IMAP -preauthtunnel = ssh -C -q mail.jones.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more @@ -128,13 +158,13 @@ localfolders = ~/Maildir/debian [Repository debian-there] type = IMAP -preauthtunnel = ssh -C -q jonas-debian@mail.jones.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q jonas-debian@mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository debian-there-more] type = IMAP -preauthtunnel = ssh -C -q jonas-debian@mail.jones.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q jonas-debian@mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more @@ -144,13 +174,13 @@ localfolders = ~/Maildir/bb [Repository bb-there] type = IMAP -preauthtunnel = ssh -C -q mail.bitbase.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.bitbase.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository bb-there-more] type = IMAP -preauthtunnel = ssh -C -q mail.bitbase.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.bitbase.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more @@ -160,13 +190,13 @@ localfolders = ~/Maildir/hb [Repository hb-there] type = IMAP -preauthtunnel = ssh -C -q mail.homebase.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.homebase.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository hb-there-more] type = IMAP -preauthtunnel = ssh -C -q mail.homebase.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.homebase.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more @@ -192,13 +222,29 @@ localfolders = ~/Maildir/db [Repository db-there] type = IMAP -preauthtunnel = ssh -C -q db.jones.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q db.jones.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository db-there-more] type = IMAP -preauthtunnel = ssh -C -q db.jones.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q db.jones.dk /usr/lib/dovecot/imap 2>/dev/null +holdconnectionopen = no +folderfilter = more + +[Repository lb-here] +type = Maildir +localfolders = ~/Maildir/lb + +[Repository lb-there] +type = IMAP +preauthtunnel = ssh -C -q lb.jones.dk /usr/lib/dovecot/imap 2>/dev/null +holdconnectionopen = no +folderfilter = less + +[Repository lb-there-more] +type = IMAP +preauthtunnel = ssh -C -q lb.jones.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more @@ -208,13 +254,13 @@ localfolders = ~/Maildir/dgih [Repository dgih-there] type = IMAP -preauthtunnel = ssh -C -q mail.dgi-huset.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.dgi-huset.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository dgih-there-more] type = IMAP -preauthtunnel = ssh -C -q mail.dgi-huset.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.dgi-huset.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more @@ -224,13 +270,13 @@ localfolders = ~/Maildir/lab [Repository lab-there] type = IMAP -preauthtunnel = ssh -C -q mail.107b.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.107b.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = less [Repository lab-there-more] type = IMAP -preauthtunnel = ssh -C -q mail.107b.dk '/usr/sbin/dovecot --exec-mail imap' +preauthtunnel = ssh -C -q mail.107b.dk /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = no folderfilter = more -- cgit v1.2.3