This short YouTube video will guide you through the process of setting up an IMAP email account on your iPhone:

Be sure to turn on SSL and see: Port Settings for Incoming/Outgoing for proper settings.