1837121 Members
2507 Online
110112 Solutions
New Discussion

domain name (bis)

 
SOLVED
Go to solution
CLUTIER
Advisor

domain name (bis)

I don't have domain name. no DNS
I have updated hosts file
(ip hostname hostname)
When i restart sendmail i have a new mesg
"WARNING: local host name (louv-dev) is not qualified; fix $j in config file /etc/mail/aliases: 6 aliases, longest 9 bytes, 76 bytes total"

6 REPLIES 6
RAC_1
Honored Contributor

Re: domain name (bis)

put the fully qualified hostname in hosts file
like a.b.com etc.

Then update Dj macro in /etc/mail/sendmail.cf
file.
Restart sendmail.

Regards,
There is no substitute to HARDWORK
jean-yves poch
Advisor

Re: domain name (bis)


try add alias in /etc/hosts like :

192.168.0.3 foo foo.
or
192.168.0.3 foo foo.mydomain.nul

and stop and start the sendmail.
The default comportement of sendmail is working with DNS.

Jean-Yves
pitstop
T G Manikandan
Honored Contributor
Solution

Re: domain name (bis)

First thing is that in your /etc/hosts file

the entry should be like

ip hostname hostname.com

Now in your /etc/mail/sendmail.cf file

search for $j
make an entry like
add hostname.com to Dj$w

Dj$w.hostname.com

This will remove the warning messages.


Thanks
T G Manikandan
Honored Contributor

Re: domain name (bis)

If you really want to configure a domain name

use
#set_parms addl_netwrk

which will be interactive
so you can add your domain name.

Now add that entry in your
/etc/mail/sendmail.cf file

after Dj$w.


Thanks
MANOJ SRIVASTAVA
Honored Contributor

Re: domain name (bis)

Can you do a nslookup for the local hosts name , if you can do that properly than check how the server is reolving its name , wheterh is it using DNS or the /etc/hosts file to resolve its name , also check for the coreect entreis in /etc/hosts and correct the entry in /etc/mail/sendmail.cf.
If you send sendmail with -v (verbose ) option than you can find out what is the problem

Manoj Srivastava
Sanjay_6
Honored Contributor

Re: domain name (bis)

Hi,

If you don't have DNS configured nor you want to use DNS, you can still configure your sendmail to use only /etc/hosts file.

Try this link on how to configure /etc/hosts only for sendmail.

http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000009872635

Hope this helps.

Regds