Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site seismo.UUCP
Path: utzoo!watmath!clyde!floyd!harpo!seismo!rick
From: rick@seismo.UUCP (Rick Adams)
Newsgroups: net.bugs.4bsd,net.mail.headers
Subject: Re: .ARPA hard coded into sendmail/src/daemon.c
Message-ID: <704@seismo.UUCP>
Date: Thu, 15-Mar-84 13:26:23 EST
Article-I.D.: seismo.704
Posted: Thu Mar 15 13:26:23 1984
Date-Received: Fri, 16-Mar-84 02:36:43 EST
References: <6741@cornell.UUCP> <227@unisoft.UUCP>
Organization: Center for Seismic Studies, Arlington, VA
Lines: 18

Re:
	Nothing is hard-coded into sendmail.  It all comes from the .cf file.
	I know they're hard to deal with, but all the flexibility you
	want is there.

Funny, this certainly looks hardcoded to me:
		/* determine host name */
		hp = gethostbyaddr(&otherend.sin_addr, sizeof otherend.sin_addr, AF_INET);
		if (hp != NULL)
--->			(void) sprintf(buf, "%s.ARPA", hp->h_name);
		else
			/* this should produce a dotted quad */
			(void) sprintf(buf, "%lx", otherend.sin_addr.s_addr);
		RealHostName = newstr(buf);

How do you propose I get it to say .UUCP instead of .ARPA?

---rick