http://technet.microsoft.com/en-us/library/bb124489.aspx
This command configures the IMAP4 service to start automatically.
Set-service msExchangeIMAP4 -startuptype automatic
This command starts the IMAP4 service.
Start-service msExchangeIMAP4