Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2003 19:24:40 +0100
From:      "Stacy Olivas" <olivas@digiflux.org>
To:        <adaml@visimation.com>, <freebsd-questions@freebsd.org>
Subject:   RE: Redirecting root's email
Message-ID:  <003201c2b8d5$8a64c580$0502000a@sentinel>
In-Reply-To: <000d01c2b5ea$16529200$6501a8c0@5adam5>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> >
> > In the /etc/aliases file look for the following lines:
> >
> > # Pretty much everything else in this file points to "root",
> > so # you would do well in either reading root's mailbox or
> > forwarding # root's email from here.
> >
> > # root: me@my.domain
> > (should be at the top of the file.
> >
> > make sure that you have a line in it like this (either
> > uncomment the line by remving the # or add a new line like:
> >
> > root: you@yourdomain.com
> >
> > save it and then run the "newaliases" command.. it will
> > rebuild the aliases database.
> >
> > For more info, do a "man newaliases".
> >
> > Of course, this only works *if* you have the sendmail daemon
> > running. <bg>
> >
> > Enjoy!
> >
> > -Stacy
>
> You must have missed the begning of this thread (before it got snipped
> anyway).  I did that.  Exactly as you suggested.  This was of
> course the
> first thing I did.  I also read man newaliases, and every
> other relevant
> man page I could find.  I also tried putting a .forward file in root's
> home directory with my external email address in it.

Hmm.. Sorry, my bad. :)

Strange that it didn't want to work for you..   what does the
/var/log/maillog show?

>
> >
> > Hi!
> >
> > > I am having trouble redirecting root's email to an external email
> > > account.  This is a 4.7-Release box with not very
> > modifications done
> > > to the standard installation.
> >
> > > When I look at /var/spool/clientmqueue, it is full of
> > messages.  Here
> > > is a snippet of one:
> >
> > > MDeferred: Operation timed out with localhost.visimation.com.
> >
> > I'm not a big Sendmail expert or anything, but do you even
> > have the MTA process running? Can you successfully telnet
> > localhost.visimation.com port 25? What sendmail related lines
> > do you have in /etc/rc.conf?
> > --
> > Toomas Aas | toomas.aas@raad.tartu.ee |
> > http://www.raad.tartu.ee/~toomas/
> > * All wiyht.  Rho sritched
> > mg kegboawd awound?
>
> Telnet to port 25 of localhost.visimation.com works.  In my
> /etc/rc.conf
> the only entry I have for sendmail is:
> sendmail_enable="YES"
>
> Thanks for the help.  This is really frusrating me. :(
>
> Adam
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003201c2b8d5$8a64c580$0502000a>