We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Problem Email noreply
Problem Email noreply
Hi, Im testing the cp and this great, but I noticed that the mail of the notifications don't have extension of the domain, how can I fix that?
The emails arrive with: noreply@mydomain
If my domain is mydomain.com
Sorry for my bad english.
I have installed vestacp on ubntu 13.04, 32 bit.
The emails arrive with: noreply@mydomain
If my domain is mydomain.com
Sorry for my bad english.
I have installed vestacp on ubntu 13.04, 32 bit.
Re: Problem Email noreply
What does the hostname command return? Most probably system hostname wasn't set as FQDN. You can set it by running following commands
Code: Select all
hostname mydomain.com
echo "mydomain.com" >/etc/hostname
Re: Problem Email noreply
I have done the commands, but when I reboot the server, the hostname getting back without extension.
Code: Select all
root@mydomain:~# hostname
mydomain
Re: Problem Email noreply
Make sure FQDN is defined in /etc/hostname
Re: Problem Email noreply
/etc/hostname
Is not saved after reboot vps.
Code: Select all
mydomain
Re: Problem Email noreply
You can change content of this file using text editor.
Re: Problem Email noreply
I've done it, but not change.
-
- Posts: 7
- Joined: Thu Dec 05, 2013 4:39 pm
Re: Problem Email noreply
Well i've solved it with this:
Login as root user, then edit the rc.local file with this command:
Then add this code before "exit 0":
After that, reboot, and test if you see something like this:
Should return "example.com"
Should return "example.com"
Just don't forget to setup on your VPS Panel the correct hostname you are using.
Login as root user, then edit the rc.local file with this command:
Code: Select all
vim /etc/rc.local
Code: Select all
echo exemple.com > /etc/hostname
/etc/init.d/hostname.sh start
Code: Select all
hostname
Code: Select all
hostname -f
Just don't forget to setup on your VPS Panel the correct hostname you are using.