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: [EMAIL PROTECTED]
(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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Toomas Aas
Sent: Monday, January 06, 2003 8:30 PM
To: Adam Lofstedt; [EMAIL PROTECTED]
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 | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* All wiyht.  Rho sritched mg kegboawd awound?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to