CREATE MASTER USER IN DOVECOT FOR SYNCING IN ISPCONFIG

Discussion in 'Server Operation' started by Jose Miguel Aracil, Mar 4, 2026.

  1. Jose Miguel Aracil

    Jose Miguel Aracil New Member

    Hi
    I have trying to add a master user in dovecot by serveral commands as
    htpasswd -c -s /etc/dovecot/master-users usermaster
    or
    doveadm pw -s SHA512-CRYPT -u masteradmin >> /etc/dovecot/master-users
    and enabling configuring /etc/dovecot/conf.d/auth-master.conf.ext and enabling acl in dovecot.conf etc..

    But when I try to sync with [email protected]*usermaster , always I get Wrong username or password.

    Could you help me or there anyways activate in ispconfig gui ??

    Regards
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you are using ISPConfig, you should not use htpasswd or doveadm, do the management with ISPConfig.
     
  3. Jose Miguel Aracil

    Jose Miguel Aracil New Member

    Hi,

    I can't find where to do it .

    Could you tell me in which side of ipconfig management i can do it ??

    I have tried with admin user and i have tried creating a user with all permission and check remote users, but it doesn't work

    nc localhost 143
    a login user password
    a NO [AUTHENTICATIONFAILED] Authentication failed.

    Regards
     
    Last edited: Mar 5, 2026
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no master user, each mailbox has its own password.

    The file /etc/dovecot/conf.d/auth-master.conf.ext is not part of the dovecot configuration. You must use /etc/dovecot/conf.d/99-ispconfig-custom-config.conf
     
  5. Jose Miguel Aracil

    Jose Miguel Aracil New Member

    I have copied the file to 99-ispconfig-custom-config.conf , add acl in dovecot.conf add
    • auth_master_user_separator = *
    to /etc/dovecot/conf.d/10-auth.conf

    and nc continues failed login
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you restart dovecot service after modifying that file?
     

Share This Page