[general] # List of accounts to be synced, separated by a comma. accounts = alanpearce.eu pythonfile = ~/.offlineimap.py [Account alanpearce.eu] # Identifier for the local repository; e.g. the maildir to be synced via IMAP. localrepository = alanpearce.eu-local # Identifier for the remote repository; i.e. the actual IMAP, usually non-local. remoterepository = alanpearce.eu-remote autorefresh = 20 quick = 2 postsynchook = mu index --maildir=%(personalmaildir)s --lazy-check --nocleanup --quiet [Repository alanpearce.eu-local] # OfflineIMAP supports Maildir, GmailMaildir, and IMAP for local repositories. type = Maildir # Where should the mail be placed? localfolders = %(personalmaildir)s [Repository alanpearce.eu-remote] # Remote repos can be IMAP or Gmail, the latter being a preconfigured IMAP. type = IMAP remotehost = mail.alanpearce.eu remoteuser = alan remotepasseval = get_pass("mail/alanpearce.eu") sslcacertfile = /etc/ssl/certs/ca-certificates.crt keepalive = 1740 holdconnectionopen = yes usecompression = yes idlefolders = ['INBOX'] [DEFAULT] personalmaildir = ~/mail/alanpearce