[net.mail] Mail, aliases.hash

jim@aob.uucp (Jim Anderson) (09/07/86)

I am running an Altos 2086.  I just got smail running well, except
for one little problem.  There is a program called /usr/bin/Mail
that wants to look in a file called /usr/lib/mail/aliases.hash for
aliasing.  The problem is that it won't recognize name@site unless
that name is actually in the alias file.  The error message is
	'name@site' is not a valid user'
I can get it to mail correctly if I put the line:
	jim@aob:"|fixaddress"
where fixaddress throws away the from line from Mail, deletes the
To: line from the message and passes the remainder of the message
to smail with all the To: names.  This much works fine.  I think
the Mail program is a Berkeley program, but I am not sure.

What can I put in the alias file to make it recognize the domain
addressing and pass it to smail (or at least fixaddress)?

I got smail working just before I left for Chicago for 3 days.  I
ran into a small problem with smail wanting to mail "all" messages
to their destination.  This would be fine, except that the calendar
program puts mail at the end of a pipe.  /bin/mail does not send
any message if there is no text to it.  I fixed it by making a
small change to deliver() and rline() to ignore the mail message
if the first line of input was EOF.  I don't have time right now
to find the actual lines to change, but it only involved changing
about 4-5 lines.  If there is any interest in these changes, I will
dig out exactly what I did.

		Jim Anderson
		caip!dayton!meccts!dicome!aob!jim (preferred)
		ihnp4!dicome!aob!jim (alternate)