Rename mail domain leaves the old recipient into db mail_user table

Discussion in 'Installation/Configuration' started by DarioL, Feb 3, 2026 at 3:16 PM.

  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 in the ISPConfig panel, 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
     

Share This Page