[general] accounts = Main pythonfile=/etc/local-COMMON/offlineimap/offlineimap.py [Account Main] localrepository = Main-here remoterepository = Main-there #[Repository Main-here] #type = Maildir #localfolders = ~/Maildir [Repository Main-here] type = IMAP preauthtunnel = /usr/lib/dovecot/imap 2>/dev/null holdconnectionopen = yes [Repository Main-there] type = IMAP preauthtunnel = ssh -C -q jonas@mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null # Mimic dovecot Maildir setup: Add leading dot to all folders but INBOX #nametrans = lambda foldername: re.sub('^\.INBOX$', '.', '.' + foldername) # Ignore odd folders folderfilter = most