When trying to start sendmail
or send a mail using a wordpress plugin, this error shows up in the maillog
:
"My unqualified host name (foo.bar) unknown; sleeping for retry"
After Googling the best advice was, "add foo.bar to the /etc/hosts file", but it already is:
127.0.0.1 localhost localhost.localdomain
127.0.0.1 foo.bar