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
On Wed, 2010-12-22 at 08:12 -0800, Jason T. Slack-Moehrle wrote:> 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.Its LOGWATCH what is doing it. It will be scheduled in / ETC / CRONTAB Regards, Paul.
On 12/22/2010 10:12 AM, Jason T. Slack-Moehrle 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?If you are running the default sendmail, put an alias for root in /etc/aliases and restart sendmail or run 'newaliases'. -- Les Mikesell lesmikesell 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, > -JasonIf 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.