Sendmail proof!
Jim Jagielski
jim at jagmac2.gsfc.nasa.gov
Tue Jul 24 04:13:31 AEST 1990
Just on a fluke, I did a "strings" of the original version of sendmail that
came with A/UX. In it I saw, in exactly the areas where I put the mods so
that sendmail would also call gethostbyname(), output strings like:
getmxrr failed. gethostbyname successful.
getcanonname: gethostbyname (%s) succeeded: %s
etc...
So, it looks like Apple did almost the EXACT SAME HACK to sendmail that I
did... if the hostname isn't found using nameserver queries, call gethostbyname
to try again. Since A/UX tries the nameserver, the Yellow Page and then
/etc/hosts (in that order), it looks like the call to gethostbyname may also
take the Yellow Pages into account (at least in the A/UX version).
Can ANYONE at a Apple confirm (or deny) this???
NOTE: The call to gethostname simply tries to get the OFFICIAL HOST NAME
for the host in question... this Official Host name, is then used
in another query, since sendmail must use MX records whenever tied
to Internet.
--
=======================================================================
#include <std/disclaimer.h>
=:^)
Jim Jagielski NASA/GSFC, Code 711.1
jim at jagmac2.gsfc.nasa.gov Greenbelt, MD 20771
"Kilimanjaro is a pretty tricky climb. Most of it's up, until you reach
the very, very top, and then it tends to slope away rather sharply."
More information about the Comp.unix.aux
mailing list