Guest User

Untitled

a guest
Dec 11th, 2018
613
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. [general]
  2. accounts = Gmail
  3. maxsyncaccounts = 3
  4.  
  5. [Account Gmail]
  6. localrepository = LocalGmail
  7. remoterepository = RepositoryGmail
  8. autorefresh = 30
  9. quick = 10
  10. postsynchook = mu index --maildir ~/.offlineimap/Gmail
  11.  
  12. [Repository LocalGmail]
  13. type = GmailMaildir
  14. localfolders = ~/.offlineimap/Gmail
  15.  
  16. [Repository RepositoryGmail]
  17. type = Gmail
  18. maxconnections = 2
  19. remoteuser = my.gmail.accountname
  20. remotepass = gmailapppassword
  21. folderfilter = lambda foldername: foldername not in ['[Gmail]/All Mail', '[Gmail]/Important']
  22. sslcacertfile = /etc/ssl/certs/ca-certificates.crt
  23.  
  24. $ offlineimap -o -a Gmail
  25. OfflineIMAP 7.2.1
  26. Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
  27. imaplib2 v2.57 (bundled), Python v2.7.15, OpenSSL 1.1.1a 20 Nov 2018
  28. Account sync Gmail:
  29. *** Processing account Gmail
  30. Establishing connection to imap.gmail.com:993 (RepositoryGmail)
  31. ERROR: Unknown SSL protocol connecting to host 'imap.gmail.com' for repository 'RepositoryGmail'. OpenSSL responded:
  32. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)
  33.  
  34. $ openssl s_client -showcerts -connect imap.gmail.com:993
  35. [...]
  36. * OK Gimap ready for requests from 217.63.244.188 s26mb317463625edc
Add Comment
Please, Sign In to add comment