Rename mail domain leaves the old recipient into login column of mail_user table DB

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

  1. DarioL

    DarioL Member

    I have create into ispconfig 3.3.1 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]          |
    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.
    Thanks
    Dario
     
  2. pyte

    pyte Well-Known Member HowtoForge Supporter

Share This Page