Last active
November 4, 2018 10:50
-
-
Save apmanol/ea57bee90b0e623925b85cebd25aa8d3 to your computer and use it in GitHub Desktop.
.offlineimaprc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
# List of accounts to be synced, separated by a comma. | |
accounts = yahoo | |
[Account yahoo] | |
# Identifier for the local repository; e.g. the maildir to be synced via IMAP. | |
localrepository = yahoo-local | |
remoterepository = yahoo-remote | |
# Minutes between syncs | |
#autorefresh = 1 # In minutes not seconds. Doesn't work on OS X. Don't use since we use wrapper 'offlineimap-load' | |
# Identifier for the remote repository; i.e. the actual IMAP, usually non-local. | |
remoterepository = yahoo-remote | |
# Status cache. Default is plain, which eventually becomes huge and slow. | |
#status_backend = sqlite | |
# Maxage of mail to synchronize in days | |
maxage = 90 | |
[Repository yahoo-local] | |
type = Maildir | |
localfolders = ~/Maildir-yahoo | |
[Repository yahoo-remote] | |
type = IMAP | |
# This only works in continuous mode since using '-o' option runs and exits by nature | |
keepalive = 100 | |
holdconnectionopen = yes | |
remotehost = imap.mail.yahoo.com | |
remoteuser = <user> | |
remotepass = <password> | |
remoteport = 993 | |
ssl = yes | |
maxconnections = 1 | |
realdelete = no | |
folderfilter = lambda foldername: foldername in ['Inbox', 'Drafts', 'Sent', 'Spam', 'Notes', 'Archive'] | |
#cert_fingerprint = c8d50e4f236438c4910aeb11d9bc588502032637 | |
#cert_fingerprint = 4cd4ac5d6e0eea0f7be3382e2ef3a9289089e33e | |
#sslcacertfile = /etc/ssl/certs/ca-certificates.crt | |
sslcacertfile = /etc/pki/tls/certs/ca-bundle.crt |
Author
apmanol
commented
Nov 4, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment