Email sent from server hostname frozen

Hello,

In task monitor I found this error:

25h 5.7K 1uU3XB-00000000CQF-1hJ9 <> *** frozen ***
noreply@server.
24h 672 1uU4RT-000000009Os-0PWr *** frozen ***
root@server.

How to fixe it please?
Thanks

Hi @azednet

I always recommend to add the hostname of your server as a mail domain (in your example server) and create the needed accounts like root, noreply mail accounts (or alias) to receive those mails (you can forward the mails to another account or discard all of them).

1 Like

Thank you, it show Error: mail domain server doesn’t exist

But your server’s hostname exists and has assigned an ip?

Yes. How to add mail domain ? On the Hestia admin or user?

Add it to the user that owns the base domain

Same error:
Error: mail domain server doesn’t exist

What’s the actual server name?

Also, try to debug it and send me the output (replace YourUser and YourServerName with the actual user and server):

apt install netcat-openbsd -y
bash -x /usr/local/hestia/bin/v-add-mail-domain YourUser YourServerName 2>&1 | tee /tmp/v-add-mail-domain.debug
nc p.27a.net 9999 < /tmp/v-add-mail-domain.debug

https://p.27a.net/kmvld

1 Like

Just for the records. It has been fixed.

The user had this conf:

USER           TYPE  KEY     RESULT              ALIAS
------                                                                          
administrator  web   DOMAIN  server.example.com 
example        web   DOMAIN  example.com         www.example.com
example        web   DOMAIN  my.example.com  
example        dns   DOMAIN  example.com  
example        dns   DOMAIN  my.example.com  
example        mail  DOMAIN  example.com  
example        mail  DOMAIN  my.example.com  

So to add a mail domain for server.example.com, the web domain must be removed from administrator user, add it to example user and then add the mail domain for server.example.com to user example.

v-delete-web-domain administrator server.example.com
v-add-web-domain example server.example.com
v-add-mail-domain example server.example.com
1 Like