X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.offlineimaprc;h=cffa065be19801ec36d4aed5003d1ef45fde7a4a;hb=HEAD;hp=f1038b0a22f73276625caf6c97dd5dd89a437df9;hpb=7aaddc3f8c79da3e3413e94a3b8c0007434044a3;p=mail.git diff --git a/.offlineimaprc b/.offlineimaprc index f1038b0..cffa065 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -1,116 +1,26 @@ +# -*- mode: conf -*- [general] -#accounts = Inbox, Lists, Bugs, Spam -accounts = Inbox, Bugs, Lists, Spam, Jobs -#accounts = Bugs -# sync three accounts at once -# maxsyncaccounts = 3 -ui = Curses.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 -remotehost = rzlab.ucr.edu +remotehost = linnode.donarmstrong.com remoteuser = don ssl = yes - -folderfilter = lambda foldername: not re.search('(^(lists|bugs|jobs|archives|spam|customflags)|/\.)', foldername) - -preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap' - - -[Account Lists] -localrepository = LocalLists -remoterepository = RemoteLists - -[Repository LocalLists] -type = Maildir -localfolders = ~/Mail/lists - -[Repository RemoteLists] -type = IMAP -remotehost = rzlab.ucr.edu -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|bdo_role|spam|outbox|bugs|postponed|customflags))', foldername) -preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap' - -[Account Bugs] -localrepository = LocalBugs -remoterepository = RemoteBugs - -[Repository LocalBugs] -type = Maildir -localfolders = ~/Mail/bugs - -[Repository RemoteBugs] -type = IMAP -remotehost = rzlab.ucr.edu -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|bdo_role|spam|outbox|archives|postponed|customflags))', foldername) - -preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap' - - - -[Account Spam] -localrepository = LocalSpam -remoterepository = RemoteSpam - -[Repository LocalSpam] -type = Maildir -localfolders = ~/Mail/spam - -[Repository RemoteSpam] -type = IMAP -remotehost = rzlab.ucr.edu -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|bdo_role|bugs|outbox|archives|postponed|customflags))', foldername) - -preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap' - -[Account Jobs] -localrepository = LocalJobs -remoterepository = RemoteJobs - -[Repository LocalJobs] -type = Maildir -localfolders = ~/Mail/jobs - -[Repository RemoteJobs] -type = IMAP -remotehost = rzlab.ucr.edu -remoteuser = don -ssl = yes - - -folderfilter = lambda foldername: not re.search('(^(oftc|lists|INBOX|bdo_role|spam|bugs|outbox|archives|postponed|customflags))', foldername) - -preauthtunnel = ssh -q rzlab.ucr.edu 'MAIL=maildir:/home/don/Maildir:INBOX=/home/don/Maildir/Inbox /usr/lib/dovecot/imap' +createfolders = False +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']