Hi,
I’ve installed sendmail in ubuntu, bit sending email was deadly slow. In the file /etc/hosts there was 127.0.1.1 HOSTNAME HOSTNAME I changed this to 127.0.0.1 localhost localhost.localdomain HOSTNAME
so 0.1 instead of 1.1 and sendmail was super quick.
Is it a problem that my hostname is not listing to 127.0.1.1 anymore??
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
There shouldn’t be an issue with that as 127.0.1.1 is bound to the loopback interface. It’s a Debian/Ubuntu specific implementation detail really. See this section on hostname resolution from the Debian Reference guide: