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 domain name

Sendmail error - Unable to qualify my own domain name

I've looked through numerous threads on ITRC, but I still can't seem to find the lucky combination to fix my problem.

Here's my error in mail.log: Unable to qualify my own domain name (mcha01) -- Using short name. Be sure to set domain name in Dj Macro in sendmail.cf.

Here's my configured files:
/etc/mail/sendmail.cf
Dj$w.meritcare.com
DSgwvgwia

/etc/mail/sendmail.cw
localhost
loopback
localhost
mcha01
mcha01.
mcha01.meritcare.com

/etc/hosts
172.25.200.57 gwvgwia.meritcare.com gwvgwia #SMTP

We're not using a DNS, per the vendor's request. I do stop/start sendmail after my changes, but still receive the same error.

Thanks in advance for any feedback on this!

Marty
4 REPLIES
Steven E. Protter
Exalted Contributor

Re: Sendmail error - Unable to qualify my own domain name

Shalom Marty,

short name is not a fully qualified domain name and that is what sendmail is looking for.

You need to use the FDQN to get around this.

Try that and mail should at least get to the relay server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: Sendmail error - Unable to qualify my own domain name

Steven,

I thought setting the Dj$w line would take care of the FQDN. Or am I missing something else on it?

Thanks!

Marty
Steven E. Protter
Exalted Contributor

Re: Sendmail error - Unable to qualify my own domain name

Shalom,

you need to go further.

/etc/hosts networking must support fdqn.

You may wish to set the hostname in /etc/rc.config.d/netconf to mcha01.meritcare.com

Then you want to go through a full m4 macro process to generate a sendmail.cf file from sendmail.mc

This will annoying as it is to do, get you through this.

The server receiving the mail also needs network support, hosts lookup or DNS to identify this server by fdqn.

It would be way easier if possible to just do DS mail relay, but some of these steps will be required regardless.

HP-UX 11.31 right?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jupinder Bedi
Respected Contributor

Re: Sendmail error - Unable to qualify my own domain name

Here is the solution

Dj$w.meritcare.com
DSgwvgwia


comment out the first line . There is no need of that

and put you relay will the fully qualified domainname in Fornt of DS

than check you /etc/hosts file whether fully qualified domainame is mention there or not

Than

/sbin/init.d

./sendmail stop
./sendmail start


Good luck
All things excellent are as difficult as they are rare