Re: Problem with sendmail and mx records

From: P.T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 01/08/04


Date: Thu, 08 Jan 2004 15:50:18 GMT

In comp.os.linux.admin Fai <faiyazm@mspli.com> wrote:
> We are using redhat linux 9. We have configured sendmail. We are able
> to send mails but not receiving them. When we cheked the log we came
> to know that there is an error "unknown host", "My unqualified host
> name (mailserver) unknown; sleeping for retry". Log file has been

Give yourself a correct hostname, with a domain part. And list it in
/etc/hosts.

> pasted in this message. We are not finding where we r doing wrong.

You are not looking at the message. It says (1) the hostname is
without a domain part, (2) it can't resolve your hostname to an IP
address anyway.

You fix (1) by giving it a hostname with a domain part or by letting
the "hostname" be an alias for a FQDN resolved through, say, /etc/hosts.
Anyway, you have to fix (2) the resolution issue, so you might as well
edit /etc/hosts.

> Please give us a solution.

Hire somebody (more) competent.

Peter



Relevant Pages

  • Re: Having trouble successfully deploying WCF service to public web site
    ... I have no clue how to fix it and i'm struggling for two ... The generated WSDL/XSDs will contain the hostname with which it ... app in VS 2008 and then add a service reference to this service (using ... header name via the UI, so IIRC you need to use adsutil.vbs for that. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: telnet mail.domain.com 25==>OK but mailx=>KO
    ... > the mailx command on the oraclep, ... Another syntax error and this time the server complains: ... Fix the hostname of your machine so it doesn't end in a dot. ...
    (comp.mail.sendmail)
  • Re: X apps initially slow to start
    ... fix your "time-out" problem. ... name isn't found relates to not having that hostname in the /etc/hosts ... Don't ask me why Linux can know the puter hostname when it boots, ... or some variation to one of multiple config files. ...
    (comp.os.linux.x)
  • Re: X apps initially slow to start
    ... fix your "time-out" problem. ... name isn't found relates to not having that hostname in the /etc/hosts ... Don't ask me why Linux can know the puter hostname when it boots, ... or some variation to one of multiple config files. ...
    (comp.os.linux.setup)
  • Re: IP address variable
    ... >can I fix that so that command gives me the address I actually want? ... >man hostname doesn't help me. ... That's simply listing the contents of /etc/hosts in a stripped down IP ...
    (Fedora)