Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to trick IOS to use my IMAP server so I can help my buddy retrieve his mail password (which he forgot, but is still stored on the iPhone).

So he has a Yahoo Mail account configured and working and I just want to edit the settings file so the Mail app will use the IMAP server that I just set up to intercept his password.

I tried modifying the file /private/var/mobile/Library/Mail/metadata.plist and "Envelop Index", changing imap.apple.yahoo.com with my server, but these two files seem to act more like a cache, they got rewritten when he did check mail.

Any ideas what file I should change or any other way to get the password? I know the password is kept encrypted in the keychain database, but it's too difficult to decrypt that.

share|improve this question

migrated from superuser.com Jan 22 '12 at 20:52

This question came from our site for computer enthusiasts and power users.

    
Questions about iOS are off topic. You can flag your question and tell a moderator to migrate to Ask Different though. Please don't repost there, this is an automatic process. –  slhck Jan 22 '12 at 20:34
    
can he not just go to the yahoo site and go through the questions. I think it will ask him his secret question to reset his password –  markhunte Jan 22 '12 at 21:24
    
You think he didn't try that before trying to hack iOS? :) –  user16367 Jan 22 '12 at 21:32
    
Nothing surprises me ;-) –  markhunte Jan 23 '12 at 2:20

1 Answer 1

It'd be a lot easier to just sniff packets from his iPhone on your wifi and get the password. (With this?)

Change the DNS servers on your wifi to point to your DNS server and tell the iPhone that mail.yahoo.com (or whatever) is your PC's IP address. Also, you might want to uncheck "Use SSL".

share|improve this answer
    
The thing is I can't configure anything about the IMAP server as long as the account is marked as an Yahoo account. In this case the Mail app uses a protocol called XYMPKI to authenticate. The password is encrypted. –  user16367 Jan 23 '12 at 16:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.