fixing repeated mail.app crashes on iphone 2.0
Another issue I ran into after upgrading to 2.0 was that Mail.app was crashing, no matter what I did. Again, not content with simply resetting the phone1, I set to investigate. Again, log into via SSH and delete the /private/var/mobile/Library/Mail folder. Then sync again, so that iTunes will re-add your mail account information to the phone. Back in business.
Unfortunately, if you have not jailbroken your phone, this fix does not work for you — rather, it is rather impossible to delete the folder. You need to reset the phone. Since these settings are saved by iTunes’ backup procedure, they should be someplace on your filesystem, and theoretically you should be able to change them there and restore from that backup, but I have not attempted to do this.
- Setting iPhone up as a ‘new phone’ instead of restoring from a backup [↩]

