iRedMail icon indicating copy to clipboard operation
iRedMail copied to clipboard

Failed to specify the database password for user “vmail“and”vmailadmin“

Open FireSpell1 opened this issue 5 months ago • 1 comments
trafficstars

REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER:

  • iRedMail version (check /etc/iredmail-release):

    • 1.73
  • Deployed with iRedMail Easy or the downloadable installer?

  • Linux/BSD distribution name and version:

  • rocky9.4

  • Store mail accounts in which backend (LDAP/MySQL/PGSQL):

  • MariaDB10

  • Web server (Apache or Nginx):

  • Nginx

  • Manage mail accounts with iRedAdmin-Pro?

  • [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

    USE_EXISTING_MYSQL='YES'
    MYSQL_SERVER_ADDRESS='10.10.10.1'
    MYSQL_SERVER_PORT='3306'
    MYSQL_ROOT_USER='admin_iredmail'
    MYSQL_ROOT_PASSWD='Aa123456+'
    MYSQL_GRANT_HOST='10.10.10.2'
    AUTO_GENERATE_PASSWORDS='NO'
    VMAIL_DB_PASSWORD='Aa123456+'
    VMAIL_DB_ADMIN_PASSWORD='Aa123456+'
    AMAVISD_DB_PASSWD='Aa123456+'
    IREDAPD_DB_PASSWD='Aa123456+'
    IREDADMIN_DB_PASSWD='Aa123456+'
    SOGO_DB_PASSWD='Aa123456+'
    FAIL2BAN_DB_PASSWD='Aa123456+'
    RCM_DB_PASSWORD='Aa123456+'
    bash iRedMail.sh

When I use the above command to install iredmail, the user passwords of vmail and vmailadmin are not changed to the passwords I specify, but are randomly generated.

What should the variable parameters of these two user passwords be?

FireSpell1 avatar May 31 '25 17:05 FireSpell1

Only these two users cannot create users according to the passwords I specified. They still randomly generate passwords to create users. Other users can specify passwords normally.

FireSpell1 avatar May 31 '25 17:05 FireSpell1