bruce@ogccse.ogc.edu (Bruce Jerrick) (11/23/89)
I wonder if anyone else has the same wish I do: sendmail doesn't give you access (in sendmail.cf) to the machine's hostname as set by /bin/hostname (4.3-oid systems). (For clarity I'll call that the /bin/hostname; it's really what gethostname() returns.) The $w macro is set from the canonicalized hostname (h_name in the hostent structure returned by gethostbyname() ). I would like to use our /bin/hostname (ogicse) in UUCP sender rewrites (the usual prepend the local machine name). I don't want to have to add a machine-specific user-defined macro for our UUCP name (but you know I will). Does IDA by any chance have a pre-defined macro for the /bin/hostname, or better yet, for the machine's UUCP name, however set? (4.3-oid UUCP usually uses the /bin/hostname; some others do not.) Or has anyone else wanted access to the /bin/hostname in sendmail.cf? I'd like to add a pre-defined macro for that; I hesitate only because of the resulting non-standardness. Bruce Jerrick Oregon Graduate Center, er, uh, Institute InterNet: bruce@cse.ogc.edu UUCP: ogccse!bruce Voice: (503) 690-1157 PS. All instances of "ogc" are about to be changed to "ogi" because it will eliminate confusion about what a "Center" is or is not. Sure.