Problem with sendmail and mx records

This is a discussion on Problem with sendmail and mx records within the Linux Administration forums, part of the Linux Forums category; Hi, We are using redhat linux 9. We have configured sendmail. We are able to send mails but not receiving ...


Go Back   Usenet Forums > Linux Forums > Linux Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-08-2004
Fai
 
Posts: n/a
Default 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=<faiyazm@mspli>, 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
Reply With Quote
  #2 (permalink)  
Old 01-08-2004
P.T. Breuer
 
Posts: n/a
Default Re: Problem with sendmail and mx records

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
Reply With Quote
  #3 (permalink)  
Old 01-08-2004
ynotssor
 
Posts: n/a
Default Re: Problem with sendmail and mx records

"Fai" <faiyazm@mspli.com> 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 With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:27 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0