iRedMail icon indicating copy to clipboard operation
iRedMail copied to clipboard

Terminal installer: A space in the password truncates it

Open SamSirry opened this issue 3 years ago • 4 comments

  • iRedMail version (check /etc/iredmail-release): 1.6.0 MARIADB edition.
  • Deployed with iRedMail Easy or the downloadable installer? Downloadable
  • Linux/BSD distribution name and version: Debian 11
  • Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
  • Web server (Apache or Nginx): Nginx
  • Manage mail accounts with iRedAdmin-Pro? No
  • [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

When using the downloadable installer in a terminal (SSH), the postmaster password is specified with spaces in the string. Attempting to log in to iRedAdmin with the same full password fails, but logging in with the part of the password before the first space character is successful.

This is tested with the admin panel iRedAdmin. Probably the password for MariaDB also suffers the same issue.

SamSirry avatar Jun 15 '22 12:06 SamSirry

Note: In the report shown at the end of the installation, the full password with spaces is displayed correctly.

SamSirry avatar Jun 15 '22 12:06 SamSirry

As mentioned in the installation wizard, do not use special chars in password, e.g. #, $. Space should be considered as one of the special chars. :(

iredmail avatar Jun 15 '22 12:06 iredmail

Yes, my bad, I checked again and saw that note in the installer. Can this be tagged as a bug or a desired enhancement?

SamSirry avatar Jun 17 '22 16:06 SamSirry

not a bug, so this is kind of solved

Anzulo1984 avatar Jul 02 '23 20:07 Anzulo1984