Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2003 22:40:52 +0100
From:      "Stacy Olivas" <olivas@digiflux.org>
To:        "'Adam Lofstedt'" <adaml@visimation.com>, <questions@FreeBSD.ORG>
Subject:   RE: Redirecting root's email
Message-ID:  <00a401c2b5cc$49ddbe60$0501000a@sentinel>
In-Reply-To: <200301061930.h06JUnt27692@lv.raad.tartu.ee>

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
-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Toomas Aas
Sent: Monday, January 06, 2003 8:30 PM
To: Adam Lofstedt; questions@FreeBSD.ORG
Subject: Re: Redirecting root's email


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?


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?00a401c2b5cc$49ddbe60$0501000a>