Rename mail domain leaves the old recipient into db mail_user table

Discussion in 'Installation/Configuration' started by DarioL, Feb 3, 2026.

  1. DarioL

    DarioL Member

    I have create into ispconfig a new domain (domain.loc) and create some mail account ([email protected])
    Then I have transfer with imapsync all emai from old domain (domain.com) into new local domain domain.loc for all account.
    At the end I have rename this domain.loc into domain.com and change the MX record.
    Everything works fine, except that the old @domain.loc accounts remained active and usable for authenticate.
    In the Mail ISPConfig panel, both the domain domain.loc and the *@domain.loc accounts are not present, then I cannot remove it.
    I have investigate and I have fount into ispconfig DB this record for all existent account:
    Code:
    [root@s-ispc ~]# mysql -uroot dbispconfig -e 'select mailuser_id,email,login from mail_user;'
    +-------------+-------------------------------+-------------------------------+
    | mailuser_id | email                         | login                         |
    +-------------+-------------------------------+-------------------------------+
    |           1 | [email protected]          | [email protected]          |
    How can I resolve this situation?
    I can substitute into DB all domain.loc to domain.com ?
    Many thanks
    Dario
     
    Last edited: Feb 4, 2026
  2. DarioL

    DarioL Member

    I solved it by accessing to "email mailbox" panel, recall all user and save it without change.
    However, IMHO, I believe that this anomaly is a bug that needs to be corrected.
     
  3. pyte

    pyte Well-Known Member HowtoForge Supporter

    This is the wrong section of the forums. If you think you found a bug, then try to recreate the issue and if you are certain go ahead and report the bug in our offical bugtracker at git.ispconfig.org. Make sure to check if the bug you are facing is not already reported.
     
    till likes this.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    I've moved the post now. I guess this might be a bug, si I'll add it to the issue tracker.
     
    ahrasis and pyte like this.

Share This Page