मुझे इमैक पर ऑफ़लाइनमैप और mu4e इंस्टॉल करने की आवश्यकता है। समस्या विन्यास है। जब मैं offlineimap चलाने मैं:सीए-प्रमाणपत्र मैक ओएस एक्स
OfflineIMAP 6.5.5
Licensed under the GNU GPL v2+ (v2 or any later version)
Thread 'Account sync Gmail' terminated with exception:
Traceback (most recent call last):
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/threadutil.py", line 158, in run
Thread.run(self)
File "/anaconda/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/accounts.py", line 226, in syncrunner
self.remoterepos = Repository(self, 'remote')
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/__init__.py", line 78, in __new__
return repo(name, account)
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/Gmail.py", line 37, in __init__
IMAPRepository.__init__(self, reposname, account)
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/IMAP.py", line 34, in __init__
self.imapserver = imapserver.IMAPServer(self)
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/imapserver.py", line 83, in __init__
self.sslcacertfile = repos.getsslcacertfile()
File "/usr/local/Cellar/offline-imap/6.5.6/libexec/offlineimap/repository/IMAP.py", line 211, in getsslcacertfile
% (self.name, cacertfile))
SyntaxWarning: CA certfile for repository 'Remote' could not be found. No such file: '/usr/share/curl/ca-bundle.crt.original'
Last 2 debug messages logged for Account sync Gmail prior to exception:
thread: Register new thread 'Account sync Gmail' (account 'Gmail')
imap: Using authentication mechanisms ['GSSAPI', 'CRAM-MD5', 'PLAIN', 'LOGIN']
यह मेरा .offlineimaprc
[general]
accounts = Gmail
maxsyncaccounts = 1
pythonfile = ~/.offlineimap.py
[Account Gmail]
localrepository = Local
remoterepository = Remote
[Repository Local]
type = Maildir
localfolders = ~/Maildir
[Repository Remote]
type = Gmail
remoteuser = [email protected]
remotepasseval = get_password_emacs("imap.gmail.com", "[email protected]", "993")
realdelete = no
folderfilter = lambda foldername: foldername not in ['[Gmail]/Spam', '[Gmail]/All Mail', '[Gmail]/Starred', '[Gmail]/Important']
holdconnectionopen = true
keepalive = 60
sslcacertfile = /usr/share/curl/ca-bundle.crt.original #??
है अजगर को स्थापित करने और CA प्रमाणपत्र के साथ एक के साथ एक समस्या है। प्वाइंट कोई कर्ल-सीए-बंडल ब्रू पैकेज नहीं है। क्या मुझे प्रमाण पत्र स्थापित करने का कोई और तरीका है?
हाँ मैं Mercurial में सीए-प्रमाणपत्र में पॉइंटिंग निर्देशिका का प्रबंधन करता हूं। अब ठीक है। धन्यवाद –
जब मैंने "सिस्टम रूट्स" का उपयोग किया था, तो यह मेरे लिए काम नहीं करता था, लेकिन जब मैंने निर्यात करके प्रमाण पत्र.pem बनाया था तो काम किया था (चयन करें, सभी, ctrl-click निर्यात ...) कीचेन्स = "सिस्टम" और श्रेणी = "प्रमाण पत्र", और concusenated कि /usr/local/etc/openssl/cert.pem से सामग्री के साथ। हमारे पास एक अजीब वातावरण है जहां संगठन का अपना प्रमाणपत्र है और सुरक्षा उद्देश्यों के लिए सभी एसएसएल यातायात को रोकता है और यह प्रमाण सिस्टम प्रमाणपत्र में था; अन्य सभी /usr/local/etc/openssl/cert.pem में थे। –