-   Linux - Networking (
-   -   email problem (

Nezar 05-30-2001 06:38 AM

I'm using RH6.2 as a mail server. I've already installed and configured sendmail as an MTA and qpopper as pop-3 server.
When i send an email to any user on the server, message is returned back with an error message that the host is unknown.Although i can ping the server by its name.
How can i solve it ?

unSpawn 05-30-2001 07:35 AM

Sendmail uses DNS (local, network) to resolve MX records for each host its sposed to transfer mail to.

U can perform the same in nslookup to see if it works:
$ nslookup
> set type=mx
-Address: preference=20, mail inet address=

u see that even the address may me, the mail will be delivered in real to, cuz the MX record specifiy so.

If the MTA cant find the MX record (or MX with other priority) it cant deliver.

Make sure the MX records are available and use the MTA's debug option for more info.

siddiqu 05-30-2001 08:40 AM


This is some problem in ur sendmail confifuration only

First try manually by running sendmail with -bt

sendmail -bt

then give the ruleset name and give some valid email id and check the floww


sendmail -bt
> 0

Check the rule sets .

Pls give the output so we can analyse


Nezar 05-30-2001 09:47 AM

continued : email problem
something important to note. That when i type
the following statement appears:

*** Can't find server name for address "some address" :
Non-existent host/domain
*** Default servers are not available

unSpawn 05-30-2001 10:13 AM

1. check if uve got a working connection to ure ISP
2. check if u entered the correct DNS servers in /etc/resolv.conf and that is working correct

{3a. check if the host/domain/IP is correct, not in the IANA reserved LAN ranges.
3b. check if the host/domain/IP resolves correct with traceroute
3c. check who -should- be the authoritative DNS server for the domain
3d. check -if- it has been up/hosted/added/propagated.}

4. victimize guilty adm/op with prodding iron for being lazy, incompetent, and not RTM'ing in general :-]

All times are GMT -5. The time now is 12:33 PM.