Well, I always like to set up the account from scratch again but FWIW, I'm pretty sure a file named com.apple.mail.plist holds these settings. A good way to test this would be to close Mail and drag this file out of the folder you find it in before reopening Mail. If I was near my Mac, I'd do it myself. 🙂