Roundcube::missing trash folder

Getting error when delete mail from roundcube, this is happen because there’s no trash folder when the user login on first time.

To solve it, you can set create_default_folders in the Roundcube config to true (its default setting) to create the folders.

vi /etc/roundcube/defaults.inc.php

// automatically create the above listed default folders on first login
$config['create_default_folders'] = true;

get problem on
– Ubuntu 16.04.2 LTS
– roundcube 1.2~beta+dfsg.1-0ubuntu1