Sendmail: unable to qualify my own domain name

Unable to qualify my own domain name

In order to fix this problem, you will need to specify a domain name in /etc/hosts file in the next format:

#[ipaddress] [longname] [shortname] htmlviewer

If you don't have a registered domain, you can set any domain name as longname: localhost.localdomain htmlviewer

It doesn't matter what you will set as domain name as long as the domain name is specified in valid format.

Finaly, restart sendmail to reload the new configuration of hosts file.

#service sendmail restart
- Posted by Eva to Linux