[comp.mail.mh] Sender field hacking: spost.c or sendmail.cf?

jsweet@ICS.UCI.EDU (Jerry Sweet) (12/06/90)

If the Sender field of an outgoing message (as opposed to the From
field) is not being fully qualified with a domain, where's the
simplest place to make it do so?  A hack in spost.c, or a hack in
sendmail.cf?

I suspect that the right place is in sendmail.cf, but I'm not a
sendmail.cf rulemeister.  Is there a template sendmail.cf that'll do
the right thing?  The "right thing" in this case must also include the
following capabilities:

	- forwards non-local mail to a local forwarding host via the
		ether mailer;
	- will forward all Internet, BITNET, and country domains;
	- doesn't require access to a name server.

For example, a SunOS client sendmail.cf file does most of the right things,
but doesn't fully qualify the Sender field.  What has to change to make
that happen?

I tried the University of Washington's client sendmail.cf file, but that
didn't seem to want to forward non-local mail properly.