Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail error: unable to qualify my own doamin name

malki_2
Occasional Advisor

Sendmail error: unable to qualify my own doamin name

I receive frequently this error with sendmail
unable to qualify my own doamin name
How can I resove it
Thinks for all
malki
5 REPLIES
Herve BRANGIER
Respected Contributor

Re: Sendmail error: unable to qualify my own doamin name


Hi

This message means your system doesn't the
domain name. Sendmail needs to know it. I
know 2 solutions :

1) verify your /etc/resolv and add a line :

domain YOUR_DOMAIN_NAME

2) modify /etc/mail/sendmail.cf, you have a line which begin with :
#Dj$w.

you can uncomment it and add your domain name (or
what you want if you don't use any domain name)

Dj$w.DOMAIN_NAME

or

DjHOSTNAME.DOMAIN_NAME

If you don't use sendmail : vi /etc/mail/mailservs

SENDMAIL_SERVER=0

HTH

Herv?
Berlene Herren
Honored Contributor

Re: Sendmail error: unable to qualify my own doamin name

Checkout my reply in
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xf9f25f260cafd4118fef0090279cd0f9,00.html

Berlene

Note: you can search the forums by clicking on the search link on the left menu, type in your inquiry and select Community Forums.
http://www.mindspring.com/~bkherren/dobes/index.htm
Magdi KAMAL
Respected Contributor

Re: Sendmail error: unable to qualify my own doamin name

Salam alaikoum Malki,

You have to put the domain name in the /etc/host file in order to fix this problem.
for example :
1.
if
you have a server with name "finance", your company is "delta" and the iso code for your contry ( I believe is Moroco ) is "mr"
then
The domain name for your server will be
"finance.delta.mr"

In your /etc/host file, the entry

2.
if the ip address for your server "finance" is
"138.176.15.2"
then
The entry in /etc/hosts file will be :

"138.176.15.2 finance.delta.mr finance"
and you can insert whatever alias you want after.


Hope this helps.

Magdi
malki_2
Occasional Advisor

Re: Sendmail error: unable to qualify my own doamin name

Oua 3laikoum salam y magdi
I must to detail the problem that I live
I have a HP server and I want to send all mail received from root to my compt in our NT exchange server.
I have cconfigure a HP_UX domaine like hostname.domaine_test and have declared in /etc/hosts an alias for our DNS domaine domaine.co.ma
I can't send any email to my_compte@domaine.co.ma
It's for that I try to configure correctly my sendmail but without sucess
Thinks for all to help me
malki
Bill McNAMARA_1
Honored Contributor

Re: Sendmail error: unable to qualify my own doamin name

post up your
/etc/mail/sendmail.cf
Have you configured Sendmail and/or DNS using SAM?

Can you nslookup the machine you're trying to email. Does it use files or dns.
If it uses files ie hosts, create an alias for your local machine with a . at the end of the name.
ie in first entry in /etc/hosts
I.P.Add.ress myserver myserver.
or
I.P.Add.ress myserver myserver.mydomain.top

Later,
Bill
It works for me (tm)