On 09/07/2016 05:07 PM, Luescher Claude wrote:
[07-Sep-2016 16:58:48 +0200]: <06631i17> [0B8F] C: A0009 UID MOVE 5 Spam [07-Sep-2016 16:58:48 +0200]: <06631i17> [0B8F] S: A0009 NO [CANNOT] Failed to create spool file
Something's trying to move the message to spam and it fails. So, the bug is in imap as you see above, but I think you're using some plugin, because Roundcube does not move messages to to Spam when accessing them. So, this might be caused by some plugin.
I also think that maybe you hit another issue. Is your session_lifetime setting a very big value? Set it to something sensible, like 60.
Use debug_level=1.