Hello.
I recently changed my hostname in etc/hosts and etc/hostname but mail is still being sent from the old hostname, therefore can’t get 10/10 in mail-tester.com
Also is this command still available?
sudo: v-change-sys-hostname: command not found
Thanks!
Check at your hestia cp Admin if it change also if not then update it also
Yes, I did change it there too.
eris
October 6, 2020, 3:19pm
4
sudo: v-change-sys-hostname: command not found
Means that the Hestia Paths are not defined when you login via SSH.
You could also use /usr/local/hestia/bin/v-change-sys-hostname
Thanks, that way I can execute the command but the problem remains. The mail is still sent by the old hostname.
Here are the tested values for this check:
* IP: 49.12.3*.*
* HELO: old.domain.com
* rDNS: new.domain.com
I’m sending test emails with Post SMTP (default type) on Wordpress to test this out.
whats the output of:
/usr/sbin/exim4 -bP primary_hostname
It points to the correct and new hostname.
primary_hostname = new.hostname.com
Source-code of an email sent by Wordpress:
Received: from old.hostname.com (new.hostname.com. [49.12.*.*])
Thanks!
Today I upgraded Hestia to the latest 1.3 version. Now mail is finally using the new hostname and I get a perfect 10/10 in mail-tester.com
Thanks for the great work guys. You’re the best!
1 Like