Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Mar 2006 20:12:55 -0800
From:      Pete Slagle <freebsd-questions@voidcaptain.com>
To:        Steel City Phantom <scphantm@yahoo.com>
Cc:        =?ISO-8859-1?Q?vesd=E1n_G=E1bor?= <gabor.kovesdan@t-hosting.hu>, freebsd-questions@freebsd.org, =?ISO-8859-1?Q?K=F6?=
Subject:   Re: setting the root email address
Message-ID:  <440BB6C7.2030400@voidcaptain.com>
In-Reply-To: <440B2521.50407@infracaninophile.co.uk>
References:  <440B1680.9070506@yahoo.com> <440B182D.6000208@t-hosting.hu> <440B2521.50407@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> K=F6vesd=E1n G=E1bor wrote:
>> Steel City Phantom wrote:
>>
>>> one of my servers was set up by some guys in china.  i have gotten
>>> everything figured out save one, somehow they got cron job results to=

>>> email to my business account.  i can't for the life of me figure out
>>> how they did that.  where in bsd do i set another email address for r=
oot?
>> See /etc/aliases, you must find something like this:
>>
>> root:           yourmail
>>
>> If you want to change that, you should run newaliases after modifying =
that.
>=20
> And if it's not set in /etc/mail/aliases, try checking for a /root/.for=
ward file.

And if you still don't find it, look in /etc/crontab. I have sometimes
seen cron jobs that pipe directly into mail, i.e.,

   foo | mail -s"Zounds!" my_addy@example.com

Pete









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