]> git.donarmstrong.com Git - mail.git/commitdiff
switch offlineimaprc to single account with everything in subdirs
authorDon Armstrong <don@donarmstrong.com>
Mon, 15 Feb 2016 02:24:49 +0000 (20:24 -0600)
committerDon Armstrong <don@donarmstrong.com>
Mon, 15 Feb 2016 02:24:49 +0000 (20:24 -0600)
.offlineimaprc

index 25df85eeec46dfc06b2e91d71d4904d5e5854989..cffa065be19801ec36d4aed5003d1ef45fde7a4a 100644 (file)
@@ -1,17 +1,19 @@
+# -*- mode: conf -*-
 [general]
-accounts = Inbox, Bugs, Lists, Spam, Jobs
-# sync three accounts at once
-#maxsyncaccounts = 3
+accounts = Inbox
+maxsyncaccounts = 10
 ui = TTYUI
+status_backend=sqlite
 
 
 [Account Inbox]
 localrepository = LocalInbox
 remoterepository = RemoteInbox
+quick=10
 
 [Repository LocalInbox]
 type = Maildir
-localfolders = ~/Mail
+localfolders = ~/Mail/
 
 [Repository RemoteInbox]
 type = IMAP
@@ -19,99 +21,6 @@ remotehost = linnode.donarmstrong.com
 remoteuser = don
 ssl = yes
 createfolders = False
-folderfilter = lambda foldername: not re.search('(^(lists|bugs|jobs|archives|spam|customflags)|/\.)', foldername)
-preauthtunnel = ssh -q linnode.donarmstrong.com '/usr/lib/dovecot/imap -o mail_location=maildir:/home/don/Maildir:INBOX=/home/don/Maildir'
-
-
-[Account Lists]
-localrepository = LocalLists
-remoterepository = RemoteLists
-
-[Repository LocalLists]
-type = Maildir
-localfolders = ~/Mail/lists
-
-[Repository RemoteLists]
-type = IMAP
-createfolders = False
-remotehost = linnode.donarmstrong.com
-remoteuser = don
-ssl = yes
-#reference = Mail
-## Trims off the preceeding Mail on all the folder names.
-nametrans = lambda foldername: \
-            re.sub('^lists.?', '', foldername)
-# Yeah, you have to mention the Mail dir, even though it
-# would seem intuitive that reference would trim it.
-folderfilter = lambda foldername: not re.search('(^(oftc|archives|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|buildd|spam|outbox|bugs|postponed|customflags|Trash|Drafts))', foldername)
-preauthtunnel = ssh -q linnode.donarmstrong.com '/usr/lib/dovecot/imap -o mail_location=maildir:/home/don/Maildir:INBOX=/home/don/Maildir'
-
-[Account Bugs]
-localrepository = LocalBugs
-remoterepository = RemoteBugs
-
-[Repository LocalBugs]
-type = Maildir
-localfolders = ~/Mail/bugs
-
-[Repository RemoteBugs]
-type = IMAP
-createfolders = False
-remotehost = linnode.donarmstrong.com
-remoteuser = don
-ssl = yes
-#reference = Mail
-## Trims off the preceeding Mail on all the folder names.
-nametrans = lambda foldername: \
-            re.sub('^bugs.?', '', foldername)
-# Yeah, you have to mention the Mail dir, even though it
-# would seem intuitive that reference would trim it.
-folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|buildd|spam|outbox|archives|postponed|customflags|Trash|Drafts))', foldername)
-
-preauthtunnel = ssh -q linnode.donarmstrong.com '/usr/lib/dovecot/imap -o mail_location=maildir:/home/don/Maildir:INBOX=/home/don/Maildir'
-
-
-
-[Account Spam]
-localrepository = LocalSpam
-remoterepository = RemoteSpam
-
-[Repository LocalSpam]
-type = Maildir
-localfolders = ~/Mail/spam
-
-[Repository RemoteSpam]
-type = IMAP
-createfolders = False
-remotehost = linnode.donarmstrong.com
-remoteuser = don
-ssl = yes
-#reference = Mail
-## Trims off the preceeding Mail on all the folder names.
-nametrans = lambda foldername: \
-            re.sub('^spam.?', '', foldername)
-# Yeah, you have to mention the Mail dir, even though it
-# would seem intuitive that reference would trim it.
-folderfilter = lambda foldername: not re.search('(^(oftc|lists|jobs|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|bugs|buildd|outbox|archives|postponed|customflags|Trash|Drafts))', foldername)
-
-preauthtunnel = ssh -q linnode.donarmstrong.com '/usr/lib/dovecot/imap -o mail_location=maildir:/home/don/Maildir:INBOX=/home/don/Maildir'
-
-[Account Jobs]
-localrepository = LocalJobs
-remoterepository = RemoteJobs
-
-[Repository LocalJobs]
-type = Maildir
-localfolders = ~/Mail/jobs
-
-[Repository RemoteJobs]
-type = IMAP
-remotehost = linnode.donarmstrong.com
-remoteuser = don
-ssl = yes
-createfolders = False
-
-
-folderfilter = lambda foldername: not re.search('(^(oftc|lists|INBOX|TODO|chili_alarm|bdo_role|0_ldo_role|spam|bugs|buildd|outbox|archives|postponed|customflags|Trash|Drafts))', foldername)
-
 preauthtunnel = ssh -q linnode.donarmstrong.com '/usr/lib/dovecot/imap -o mail_location=maildir:/home/don/Maildir:INBOX=/home/don/Maildir'
+maxconnections=3
+idlefolders=['INBOX']