Hi,
my problem was related to custom settings in our php.ini.
So if you have not changed your php.ini by hand, then you will not have the same issue.
Are you receiving the exact same error in roundcube and what does your roundcube error_log say?
Have you checked that courier-imap is running...