-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS X and keychain access #244
Comments
photon? I don't know it. |
@5c0tt, I'm not familiar with photon either but I may be able to help with one other aspect. The Likewise, if the file has something like the below, you'll need to change the params = {
'security': '/usr/bin/security',
'command': 'find-internet-password',
'account': account,
'server': server,
'keychain': '/Users/sjl/Library/Keychains/login.keychain', # <-- Here
} |
I hear there's 6.5.7 adapted to work on Mac OS X, available through On 9/18/2015 11:05 PM, Scott wrote:
|
Chris Coleman notifications@github.com writes:
I installed it using homebrew and it works nicely, but this has nothing I use the following to get my password from the keychain: a file named .offlineimap.py:
--8<---------------cut here---------------end--------------->8--- in my .offlineimaprc (the relevant bits): --8<---------------cut here---------------start------------->8--- remoteuser = MyUsername to get the password:remotepasseval = get_keychain_pass(account="RMKrugGmailOfflineimap") I don't remember where I got this from, but I found it womewhere. Cheers, Rainer
Rainer M. Krug |
photon, I think I mean python ;) I just ran a test on the shell and was able to get I just want to confirm, if i go through all this, set up offlienimap, and Thank you. On Sat, Sep 19, 2015 at 5:46 PM, John Mastro notifications@github.com
Scott |
As long as the editor removes the old mail and creates a new one in the maildir on changes, offlineimap will do the right thing and sync back. |
I have been trying to get offlineimap up and running on OS X. Reading, I am not sure if the photon file of offlineimap.py is part of offlineimap or not, but perhaps someone can point me in the right direction.
The file has a call in it to:
sudo -u sjl %(security)s -v %(command)s -g -a %(account)s -s %(server)s %(keychain)s" % params
This command does not work on Mac OS X 10.10.5 Yosemite. I played with it in the command line, using hard coded parameters, and still get a null return, not the "Password:" that the script ends up looking for and parsing out.
Dropping the reference to that file, offlineimap asks for my gmail password, and I think works, I ended up deleted it all as it seemed like I made a mess.
The text was updated successfully, but these errors were encountered: