summaryrefslogtreecommitdiff
path: root/offlineimap/offlineimaprc.example
blob: 9133516d7aee75a799a93b236f09bd1692f10418 (plain)
  1. [general]
  2. accounts = Main
  3. pythonfile=/etc/local-COMMON/offlineimap/offlineimap.py
  4. [Account Main]
  5. localrepository = Main-here
  6. remoterepository = Main-there
  7. #[Repository Main-here]
  8. #type = Maildir
  9. #localfolders = ~/Maildir
  10. [Repository Main-here]
  11. type = IMAP
  12. preauthtunnel = /usr/lib/dovecot/imap 2>/dev/null
  13. holdconnectionopen = yes
  14. [Repository Main-there]
  15. type = IMAP
  16. preauthtunnel = ssh -C -q jonas@mail.jones.dk /usr/lib/dovecot/imap 2>/dev/null
  17. # Mimic dovecot Maildir setup: Add leading dot to all folders but INBOX
  18. #nametrans = lambda foldername: re.sub('^\.INBOX$', '.', '.' + foldername)
  19. # Ignore odd folders
  20. folderfilter = most