[CentOS] Changing Root E-Mail address

Wed Dec 22 22:24:13 UTC 2010
Nico Kadel-Garcia <nkadel at gmail.com>

On Wed, Dec 22, 2010 at 11:12 AM, Jason T. Slack-Moehrle
<slackmoehrle at me.com> wrote:
> Hi All,
>
> I installed a new CentOS 5.5 box and I am getting a daily e-mail (I am not sure how this was triggered) with XNTPD logs, HTTP Error and Disk Space).
>
> It is being sent to root at www.6colors.co which bounces, but I have a catch all so it does get to me.
>
> How do I change where this e-mail is sent? I have tried in /etc/postfix/main.cd, master.cf, bounce.cf.default, etc and I don't see where this is set.
>
> Can anyone help out?
>
> Best,
> -Jason

If you're running sendmail, put an alias in /root/.forward. That gets
*all* root email forwarded to the appropriate account, not just cron
jobs. It also doesn't require editing of system files such as
/etc/aliases.