syslog messages

Benjamin Keating motionsiren at gmail.com
Mon May 23 11:18:22 PDT 2005


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 at sifycorp.com <ananth.g at gmail.com> wrote:
> thanks glenn,
> it worked
> 
> regrds,
> ananth.g
> 
> Glenn Dawson wrote:
> 
> > 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 to
> >> my mail id instead of localhost id ?
> >
> >
> > Just change where the root alias in /etc/mail/aliases points to.
> >
> > for example:
> >
> > root:   user at 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 at freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "freebsd-questions-unsubscribe at freebsd.org"
> >
> >
> > _______________________________________________
> > freebsd-questions at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
> >
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list