[comp.soft-sys.andrew] Solution - Name Resolver disabled

tobeye@NORTHSTAR.DARTMOUTH.EDU (Anthony Edwards) (03/02/90)

YES, we do definitely have the Name Resolver working and now I DO have
(or soon will) messages working correctly!

Here's the problem:

In the file ${ANDREWDIR}/overhead/mail/lib/valhost.c, at the top after
the #include block, I found 
	#define	dn_SKIPNAME
At this point, I don't know if this line was with the original
distribution or not.  The effect of this #define was to totally ignore
the call to dn_skipname() which is required for resolving names.

Here's the solution:

I commented that line out and added these two lines:
	#undef	dn_SKIPNAME
	#undef	CQUERYM
which basically tells valhost.c that the dn_skipname() routine IS
defined on our system and use it!

I now get much better results from valhost.test:

% valhost.test
Test your favorite destination mail domain names.  One at a time, please.
domain: transarc.com
Input: ``transarc.com''; output: ``transarc.com'' (good)
domain: ecs.umass.edu
Input: ``ecs.umass.edu''; output: ``ecs.umass.edu'' (good)

Thanks, Craig, for sticking this one through with me and helping me out!

   - Anthony