The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

upcp and backup scripts cron

Discussion in 'General Discussion' started by upsforum, Jul 14, 2007.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    446
    Likes Received:
    0
    Trophy Points:
    16
    I have a problem, upcp and cpbackup script every day send a mail to root mail, ok, but why I don't receive this messages in a specified mail box? and in others mail box it works?

    second question: don't receive the logwatch mail every day

    thanks
     
  2. MaraBlue

    MaraBlue Well-Known Member

    Joined:
    May 3, 2005
    Messages:
    335
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Carmichael, CA
    cPanel Access Level:
    Root Administrator
    If I'm understanding you correctly, you want the emails that show when those scripts are run to go to a specific email address of yours, rather than root?

    Those services/scripts are run by a cron, so check where your cron emails are going by logging in via SSH, then:
    Code:
    more /etc/crontab
    You can edit the MAILTO="" (which is where the cron emails are sent to) using vi (or your favorite editor). Put the email address you want the emails to be sent to within the quotes.

    As far as the LogWatch emails, check the configuration file:
    Code:
    more /etc/logwatch/conf/logwatch.conf
    Make sure you've enabled emailing the log report, and make sure there's a cron set in /etc/cron.daily to run LogWatch.
     
    #2 MaraBlue, Jul 18, 2007
    Last edited: Jul 18, 2007
Loading...

Share This Page