X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.offlineimaprc;h=cffa065be19801ec36d4aed5003d1ef45fde7a4a;hb=0349d58e496868f5f00f998553fb09a76c312367;hp=456cbca9ec1eead4430fee04f37dc574e408edf7;hpb=17464b7edf1efa4631bf59764e6c18e56bedb20b;p=mail.git diff --git a/.offlineimaprc b/.offlineimaprc index 456cbca..cffa065 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -1,17 +1,19 @@ +# -*- mode: conf -*- [general] -accounts = Inbox, Bugs, Lists, Spam, Jobs -# sync three accounts at once -#maxsyncaccounts = 3 -ui = Blinkenlights +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))', 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))', 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))', 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))', 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']