[net.unix-wizards] sendmail.cf question

chris@nrcvax.UUCP (Chris Grevstad) (08/08/85)

I need some help from the mail gurus out there.  If sendmail can't do the
following, then blow me down.

All I want to do is put some distance between our node name (nrcvax)
and our actual machine/host name (mickey).  Naturally, sendmail uses
gethostname() to find the hostname to use in all mail transactions.  I
would prefer it would use our node name instead.

We would like this to happen because from time to time we swap different
machines in and out of service, and we have them (of course) all named
a variety of different names.

Preferably, the solution should happen in sendmail.cf, as on this particular
machine we have yet to get our source license.  I've already ported uucp
and berkmail over and hacked on them to do a getnodename() type thing
rather than a gethostname().  But sendmail is really trying to do me in.

As an aside, I'm a domain fan.  Please don't let this turn you off from
solving this problem.  I am NOT a real big fan of sendmail.

Thanks.  Please mail all replies to ...!sdcrdcf!psivax!nrcvax!chris.

-- 
	Chris Grevstad
	{sdcsvax,hplabs}!sdcrdcf!psivax!nrcvax!chris
	ucbvax!calma!nrcvax!chris

	... you see, we are only a computer software programming
		 order of monks...