Topic: My FQDN mail.mydomain.com is changed to mydomain.com
Hello,
I did this
# File edited and saved: /etc/hostname
mail
# File edited and saved: /etc/hosts
127.0.0.1 mail.mydomain.com mail localhost localhost.localdomain
Verify the FQDN hostname:
first time
# hostname --fqdn
mail.mydomain.com
second time,
# hostname --fqdn
mydomain.com
It was changed ?????????????????
I do not know how, but it changed the FQDN to mydomain.com
Now the host file is
File /etc/hosts
127.0.0.1 mydomain.com mail localhost localhost.localdomain
I have tried to fix it many times but it always return to
127.0.0.1 mydomain.com mail localhost localhost.localdomain
what can I do in order to solve the problem?
Thanks
Peace5
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.