Operating System - HP-UX
1748181 Members
4110 Online
108759 Solutions
New Discussion юеВ

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

 
Marty Steffens
Advisor

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 4
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
Marty Steffens
Advisor

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