You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After an upgrade from roundcube 1.4.14 (Debian bullseye) to roundcube 1.6.3 (Debian bookworm) SMTP authentication fails.
All my users log in to roundcube using a short name (without @<domain_name>) and my config.inc.php contained:
$config['smtp_user'] = '%u@ourdomain.nl';
This worked perfectly before due to the %u substring replacement in roundcube/program/lib/Roundcube/rcube_smtp.php of version 1.4.14 which contained:
AFAIK the POSIX standard states that user names cannot contain the % character.
So, replacing %u by the name of the logged in user using string substitution should never be a problem for the config smtp_user field like 'prefix%upostfix'.
Passwords on the other hand may contain % characters and thus should be treated differently.
After an upgrade from roundcube 1.4.14 (Debian bullseye) to roundcube 1.6.3 (Debian bookworm) SMTP authentication fails.
All my users log in to roundcube using a short name (without @<domain_name>) and my config.inc.php contained:
This worked perfectly before due to the %u substring replacement in roundcube/program/lib/Roundcube/rcube_smtp.php of version 1.4.14 which contained:
This was broken by the strict replacement algororithm introduced by issue #8435 :
Note that the fix of issue #8435 sadly also modified handling the smtp_user (%u) and not only the smtp_password(%p) ...
The text was updated successfully, but these errors were encountered: