You can login to Roundcube/Webmail but receive an error when sending.
Edit the following file
Add the following 2 lines
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
Changes take effect immediately, no need to logout.
Test sending mail.
Please leave a comment if this worked for you, or if it didn’t and you’d like additional advice.