[comp.mail.sendmail] hiding network info

danny@huji.ac.il (Danny Braniss) (06/16/91)

I have set up sendmail, so that local mail is distributed directly
(either via local or ipc mailer), and outgoing mail is sent to the 'mail
gateway' cs.huji.ac.il, which changes the host to cs.huji.ac.il. also,
i've hacked it up a little, so that even if cs is a restricted
machine, mail to anybody@cs.huji.ac.il is accepted correctly. Now, for
my new 'problem'. We have clusters of work-stations, users would like
to be able to send mail to 'foo', where foo is a valid user, but not
necesarely known to the sender's machine. So far, what they have to do
is mail 'foo@cs', which they usualy forget :-)

This is what i did:
	In the final rule that checks if nothing else must be local,
it just forwards it to cs.huji. This works 'almost ok', but since the
delivery is not 'local' $x does not get expanded. and hence the From:
line just has the user's machine address - not his/hers real name.

Im looking for a way out, that DOES NOT include using aliases. Any
ideas?

	danny

===============================================================================
Daniel Braniss, Computer Science Department, The Hebrew University of Jerusalem
===============================================================================