Skip to main content

[CPANEL-25891] Email Account creation (after a previous deletion) fails when using "Provide alternate email"

Comments

8 comments

  • Randy Rod
    Most probably, the issue seems to be with the following two reasons. 1. Can you please check the path locate and remove email account folder in question. --- /home/username/mail/domain name --- 2. Also, navigate to the following path, try opening passwd file with editor of your choice. Remove email account entry (if any exists) from that file and save it. -- /home/username/etc/domain name --
    0
  • cPanelMichael
    Hello @diracuser, It's possible the email user still exists in the /home/username/etc/domain.tld/passwd or /home/username/etc/domain.tld/shadow file. Feel free to open a
    0
  • Squished2gether
    I'm having this same issue. I checked all of the files mentioned above, and the account was not mentioned in any of them. Just wondering if I should open a support ticket, or if anyone has another solution for this. Thanks!
    0
  • cPanelMichael
    Hello @Squished2gether, Internal case CPANEL-25891 is open to address an issue where email account creation fails if you perform the following steps: 1. Create an email account in cPanel with the "Provide alternate email" option enabled 2. Delete the email account. 3. Attempt to create the email account again (continuing to use the "Provide alternate email" option). Step three will fail with the following error message in the cPanel UI: [QUOTE]Error: The system failed to create the user: A record of the type "sub" named "test2" at the domain "example.com" already exists.
    I'll monitor this case and update this thread with the outcome once it's available. In the meantime, the temporary workaround is as-follows: 1. Open cPanel >> User Manager. 2. Delete the email user that you previously removed and are attempting to create again. 3. Browse to cPanel >> Email Accounts and create the email account. Thank you.
    0
  • BINAIRE
    Hello @Squished2gether, Internal case CPANEL-25891 is open to address an issue where email account creation fails if you perform the following steps: 1. Create an email account in cPanel with the "Provide alternate email" option enabled 2. Delete the email account. 3. Attempt to create the email account again (continuing to use the "Provide alternate email" option). Step three will fail with the following error message in the cPanel UI: I'll monitor this case and update this thread with the outcome once it's available. In the meantime, the temporary workaround is as-follows: 1. Open cPanel >> User Manager. 2. Delete the email user that you previously removed and are attempting to create again. 3. Browse to cPanel >> Email Accounts and create the email account. Thank you.

    Hello, I had the same issue and this procedure in User Manager worked for me. Thank you very much! Yves
    0
  • JohnADrury70
    I just had the same issue. This is what worked for me... I checked everything in the etc and mail folders. There was no trace of the deleted email account. I checked the A records - nothing. In the /home/username/.subaccounts directory there is a file called storage.sqlite that I believe is a temporary flatfile db for the server to create the necessary folders etc... Just a guess, but in any case, I made a backup of the file and then deleted the original from the server. I was then able to recreate the previously deleted email account without issues. The system regenerated the storage.sqlite file and everything appears to be in order.
    0
  • Andrew Champ
    I just had the same issue. This is what worked for me... I checked everything in the etc and mail folders. There was no trace of the deleted email account. I checked the A records - nothing. In the /home/username/.subaccounts directory there is a file called storage.sqlite that I believe is a temporary flatfile db for the server to create the necessary folders etc... Just a guess, but in any case, I made a backup of the file and then deleted the original from the server. I was then able to recreate the previously deleted email account without issues. The system regenerated the storage.sqlite file and everything appears to be in order.

    Thank you. This fixed my issue as well.
    0
  • vrysa
    This workaround : 1. Open cPanel >> User Manager. 2. Delete the email user that you previously removed and are attempting to create again. 3. Browse to cPanel >> Email Accounts and create the email account. worked!! but is the bug fixed already?
    0

Please sign in to leave a comment.