Subject: Re: [Q] /etc/aliases configuration
To: port-mac68k@NetBSD.ORG <port-mac68k@netbsd.org>
From: Christopher Brown <chrsbrwn@mindspring.com>
List: port-mac68k
Date: 05/20/1999 18:27:14
"Matías Giovannini" wrote:
>
> Hi, people;
>
> I've just set up NetBSD 1.4 on a Quadra 800 (is it me, or it is *much*
> faster than 1.3.3?), and I wanted to configure things so that mail to
> root goes redirected to my machine. I don't want to set up a mailer or
> anything there, just point it to an existing SMTP server. I've been
> unable to find anything related in the FAQs, so I was wondering if some
> kind soul would point me in the direction of the relevant documentation.
No documentation needed :-) . Look in the file /etc/aliases for the
following lines:
# Well-known aliases -- these should be filled in!
root: yourname
manager: yourname
dumper: yourname
operator: yourname
Where I have entered "yourname", you should put your local login name on
that machine. After you change /etc/aliases, remember to type newaliases
to update the alias database. In the home directory of the user that you
entered in /etc/aliases, create a .forward file containing only the
email address (or addresses) you want to forward to. I beleive it might
have to be executable, but I am not sure. When there is email for one of
those aliases, sendmail should start up temporarily to send the message,
and then die away. Test it by typing "mail -s test root", a couple lines
of text, then ^D to end the message. The email should be automatically
forwarded to your account on the other machine.
--
Chris Brown -- Macintosh networking/Web development
<chrsbrwn@mindspring.com> <http://www.mindspring.com/~chrsbrwn>