Problem creating email domain

Hello, I have been using hestiacp for a long time and this has not happened to me.
creating a domain to create the emails says that the domain does not exist which confuses me a lot since in other accounts it works normally


error:

Can you tell me any solution? On other accounts it works normally, it is very strange

Hi @dev7,

Did you add the domain after copying it? Could you please try again but writing the domain manually?

If that doesn’t work, show the output of these commands (replace YourUser and YourDomain with the actual data):

v-list-mail-domains YourUser
v-list-mail-domain YourUser YourDomain

Hello, thanks for replying, look here is the output of that command, it looks like the answer is that the domain does not exist, but clearly the domain has been running on the server for a long time.
How can it be solved?

Did you try to add it manually? Is your domain using any character like ñ, á, ü, etc.?

The problem here is that Hestia can’t found it inside this conf file: /usr/local/hestia/data/users/YourUser/mail.conf so maybe a wrong character is there and that is the reason to try to add the domain again but without copying/pasiting it.

Anyway, show me the output of this command (replace YourUser with the actual user):

cat -A /usr/local/hestia/data/users/YourUser/mail.conf

Hello, I executed the command but nothing comes out, I have also entered the path and as such the file is there, but apparently it has no content.

imagen

Generally this domain does not have special characters or spaces, it is a web domain that has been working for a while and an email was required to be configured and it presents this error, what option can be done to correct it,
thank you

Look at this, I added test domains and if the system registers them,
but not my domain, the domain structure is this “portal.dominio.net.co
The webmail would be something like this: mail.portal.dominio.net.co


What can I do to make my domain work?

Try to add it from command line:

v-add-mail-domain YourUser YourDomain 
1 Like

@sahsanu can you move the posts/comments from this onwards to here, as it relates to this thread.

I found out why it was not working. Unable to add **panel.domain** as **domain** belongs to a different user

I had to change the config under settings > security > policies > Enforce subdomain ownership (change to NO) and then recreate it. It worked. The CLI gives the correct reason, but the UI pop-ups do not. Maybe this can be altered in the code to allow users to know the error reason in an accurate manner?

Update 09.03: Thanks. The root email error has vanished now.

I have this forum to thank a lot. I would not have taken the bold step forward to host over my own and not via cPanel if it was not for this place. Really appreciate everything done here.

I will look into how to donate via bank and not paypal. It is one of the devil incarnation.