Log in to your cpanel:
1) scroll down to the subdomain link
2) and then just enter the name for the subdomain in the subdomain field
3) click create and you are done.
While I am pretty new to using imap (have only used it on one account for a couple of months), I would think it´s just a matter of changing the settings in your e-mail client. Please see this page.