> on a server with solaris 8, nis and dns, where network mail functions
> (i can use the 'mail' command to send myself messages to my internet
> messages to the network mail address for each user.
/Only/ automatically generated mail, or all mail? You could make
entries in /etc/aliases, like this:
but that would affect all mail (for the users thus listed, anyway).
Alternately, you can set up sendmail to rewrite addresses, which is slightly
more involved but is probably the correct way, if you really want it done
for all users.
> what i would like to do is to have mail automatically append the
> in /var/mail for network users of my local server. does anyone know
> how to do this?
Well, one thing you could do is write the cron jobs so that they
mail out the results themselves rather than letting cron do it. For example,
rather than just
ls /path/to/dir
And I would have sworn that cron supported an environment variable
that let you define who stuff got mailed to, but I can't find any reference
to it.
--
If mail to me bounces, try removing the "+STRING" part of the address.