problem sendmail - sleeping for retry
I have a sendmail message error when I send a mail :
"My unqualified host name (myhostname) unknown; sleeping for retry"
My mail is send but after a long time.
I know that I should add in /etc/hosts the line :
127.0.0.1 machine.domaine.fr localhost myhostname
But I can't because others application (samba, sge) would fail.
I tried to had : dnl define(`confHOSTS_FILE', `/etc/hosts.sendmail')dnl in the config.mc file but it is doesn't work and had the good line in this file. Sendmail still read in /etc/hosts file.
What can I do ?