.ARPA hard coded into sendmail/src/daemon.c

Martin Levy martin at vax135.UUCP
Fri Mar 2 11:14:07 AEST 1984


when using sendmail around a local ethernet and or thru any other media
where sendmail (in daemon mode) get's it's mail via sockets, it will set
up the Received header line like this:-

Received: from vax135.UUCP (vax135.ARPA) by marvin.UUCP (4.12/4.7)
	id AA03076; Thu, 1 Mar 84 19:58:24 est

now, we are not on the ARPANET, and hence the .ARPA is not correct. this
is very hard coded in, and only happens when the HELO argument (SMTP RFC???)
does not match gethostbyaddr() of the socket.
now, i pass vax135.UUCP over as the HELO arg, and the output of gethostaddr()
is "vax135", ok so whats up?, i think i should just send over "HELO vax135",
but the default sendmail scripts use vax135.UUCP.
a simple fix is to put .ether instead of .ARPA in the name, but that's even 
worse!!.
whats the correct fix while still leaving things 'configurable' by sendmail.cf?.

martin levy.



More information about the Comp.bugs.4bsd.ucb-fixes mailing list