Dovcot is if i´m not mistaking an email server which handles both IMAP and POP. Go to your account settings on the email server for the account you want to use and there you will likely find all the information you need (protocol e.g. IMAP, username, password etc.).