Problem with sendmail and mx records - Linux

This is a discussion on Problem with sendmail and mx records - Linux ; Hi, 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 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Problem with sendmail and mx records

  1. Problem with sendmail and mx records

    Hi,

    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
    pasted in this message. We are not finding where we r doing wrong.
    Please give us a solution.



    mailserver ipop3d[3189]: Logout user=faiyazm host=[192.168.1.51]
    nmsgs=0 ndele=0
    Jan 8 20:33:46 mailserver sendmail[3187]: i08F3kY9003187: to=root,
    delay=00:00:00, xdelay=00:00:00, mailer=local, pri=61360, dsn=2.0.0,
    stat=Sent
    Jan 8 20:33:46 mailserver sendmail[3187]: i08F3kY9003187:
    to=, delay=00:00:00, xdelay=00:00:00, mailer=esmtp,
    pri=61360, relay=mailserver.mspli., dsn=5.3.5, stat=Local
    configuration error
    Jan 8 20:33:46 mailserver sendmail[3187]: i08F3kY9003187:
    i08F3kYA003187: return to sender: Local configuration error
    Jan 8 20:33:46 mailserver sendmail[3187]: i08F3kYA003187: to=root,
    delay=00:00:00, xdelay=00:00:00, mailer=local, pri=32384, dsn=2.0.0,
    stat=Sent
    Jan 8 20:33:50 mailserver ipop3d[3192]: pop3 service init from
    192.168.1.51
    Jan 8 20:33:50 mailserver ipop3d[3192]: Login user=faiyazm
    host=[192.168.1.51] nmsgs=0/0
    Jan 8 20:33:50 mailserver ipop3d[3192]: Logout user=faiyazm
    host=[192.168.1.51] nmsgs=0 ndele=0
    Jan 8 20:35:26 mailserver sendmail[3196]: My unqualified host name
    (mailserver) unknown; sleeping for retry
    Jan 8 20:36:46 mailserver sendmail[3196]: unable to qualify my own
    domain name (mailserver) -- using short name


    Thanks in advance
    Fai

  2. Re: Problem with sendmail and mx records

    In comp.os.linux.admin Fai 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

  3. Re: Problem with sendmail and mx records

    "Fai" wrote in message
    news:68feda63.0401080720.27637d4c@posting.google.c om
    > Hi,
    >
    > 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
    > pasted in this message. We are not finding where we r doing wrong.
    > Please give us a solution.

    [...]
    > Jan 8 20:35:26 mailserver sendmail[3196]: My unqualified host name
    > (mailserver) unknown; sleeping for retry
    > Jan 8 20:36:46 mailserver sendmail[3196]: unable to qualify my own
    > domain name (mailserver) -- using short name


    Solution: Your /etc/hosts file should be similar to (localhost should be
    exactly like):

    127.0.0.1 localhost.localdomain localhost
    192.168.0.222 mailserver.example.net mailserver



    --
    use hotmail for any email replies


    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

+ Reply to Thread