After performing the cPanel conversion from mbox format to the new maildir format running Courier-IMAP you will need to run the following commands to get MailScanner scanning emails again:
/scripts/buildeximconf /scripts/mailscannerupdate service exim restart