So, I don't use Apple's Mail.app very much. Actually, I detest it. Still, you know, I'm an email geek. Every once in a while, I get a bug that says something like, "Apple Mail is doing something totally insane, and only you can help us, Rik!" Well, that's how I like to read the bug reports, anyway. It makes me feel like more of a superhero, even while doing my secret identity thing behind a terminal.
I had my main email accounts set up in Mail, but no matter what, Mail wouldn't save my password in the keychain. I tried nearly everything I could think of, and finally resorted to asking our local Apple retail/repair place if they had any ideas. (They had ideas. It didn't help.)
Lots of other things were using the keychain without incident, but Mail kept failing. Actually, iTunes failed at remembering (at least) my Audible account. Here's my guess: a few months ago, I was running low on space, and I was getting really tired of constantly shuffling things onto and off of my laptop. I took a drastic step: I used Monolingual to effectively lipo my whole system. It removed most of the non-English localizations and all of the PowerPC binaries. This didn't really cause my any problems, except that Safari complained that its signature was no longer valid. I replaced Safari with a fresh copy, and life was good.
My guess was that somehow Mail was not getting access to the keychain. Since I just replaced my hard drive, I figured that I could make a fresh install and not lipo anything. That went pretty well. Here's what I did (mostly for my own future reference):
muttsucked and rolled my own
perl5.10 and a bunch of my most-needed modules (note to self: make a Bundle)
This all took a long time. I was at it from about 19:00 to 01:00 last night, and then another hour or so, today. Knowing what I know now, I'm sure I will be able to do it faster, if I need to do it again. Still, given the fact that I really did reinstall everything I needed, it really wasn't so bad.
It turns out that, yes, now I can save passwords for Mail.app in the keychain. My Audible passwords are still getting ignored, though. Ugh.