Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 11:18:19 -0700
From:      Benjamin Keating <motionsiren@gmail.com>
To:        ananth_g@sifycorp.com
Cc:        freebsd-questions@freebsd.org, Glenn Dawson <glenn@antimatter.net>
Subject:   Re: syslog messages
Message-ID:  <781e2bc005052311184e1a7a4e@mail.gmail.com>
In-Reply-To: <4291773D.6060509@sifycorp.com>
References:  <42916690.1030205@gmail.com> <6.1.0.6.2.20050522222459.05956bc0@cobalt.antimatter.net> <4291773D.6060509@sifycorp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I usually do (as root):

$ echo <email-addy> > ~/.forward

this way sendmail and it's conf remain the same. less modification and
changes can be easily found.

On 5/22/05, ananth_g@sifycorp.com <ananth.g@gmail.com> wrote:
> thanks glenn,
> it worked
>=20
> regrds,
> ananth.g
>=20
> Glenn Dawson wrote:
>=20
> > At 10:13 PM 5/22/2005, you wrote:
> >
> >> hi,
> >> when i get an error or warning in my system, a mail is sent to the
> >> root user.
> >> does anyone know how to change the settings so that the mail is sent t=
o
> >> my mail id instead of localhost id ?
> >
> >
> > Just change where the root alias in /etc/mail/aliases points to.
> >
> > for example:
> >
> > root:   user@domain.com
> >
> > don't forget to run newaliases after you make the change.
> >
> > (this all assumes you're using sendmail)
> >
> > -Glenn
> >
> >> thanks guys.
> >> regrds,
> >> ananth.g
> >> _______________________________________________
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "freebsd-questions-unsubscribe@freebsd.org"
> >
> >
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> >
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?781e2bc005052311184e1a7a4e>