Understanding IMAP settings would be a year or so in the usual comp sci classes as you gain enough background to learn email systems and then networking.
Are you sure about your question as most folk just want to setup their email software to pick up or use various mail services.
I,m David Abbey from New York City, I had been using Gmail services for the last many years, but now I am using Yahoo mail services because of a job change. I want to understand IMAP settings for my Yahoo mail services. So please suggest me relevant answers.