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.

I get thousands of emails each day from cron tasks....

Discussion in 'E-mail Discussions' started by aarCarr, Jan 16, 2014.

  1. aarCarr

    aarCarr Registered

    Joined:
    Jan 16, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Ok, this is the most stupid thing ive ever done - somehow i get an email notification from every cron job that runs on our server and the amount of mail im getting is huge.

    Im using WHM 11.38.2, CPanel 11.38.2 (build 15) on Centos 5.10.

    Ive checked and my email adress isnt entered in any of the email notification areas of the cron job section in cpanel - is there somewhere else where i could have entered my email that could have this effect.
     
  2. HostingH

    HostingH Well-Known Member

    Joined:
    Jan 13, 2008
    Messages:
    73
    Likes Received:
    3
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    Please login to WHM and Home » Server Contacts » Edit System Mail Preferences, check here if you set any forwarder.

    Thanks,
     
  3. aarCarr

    aarCarr Registered

    Joined:
    Jan 16, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for the reply, i really thought that could have been the problem but it wasn't - my email address isn't in there.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can review the "root" cron jobs with a command such as:

    Code:
    crontab -l
    Are the email notifications forwards from the "root" contact address?

    Thank you.
     
  5. aarCarr

    aarCarr Registered

    Joined:
    Jan 16, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for the reply - The command shows which cronjobs are set for the root account but i cant see where i could check the root account to see if my address is there - the address im getting emails to isn't associateed with the root account on the server. How would i check?
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can review the email address that emails for the "root" address are forwarded to via:

    "WHM Home » Server Contacts » Edit System Mail Preferences"

    It's also listed in:

    /root/.forward

    Are you using an email address for this address that could be forwarding to another additional email account?

    Thank you.
     
  7. aarCarr

    aarCarr Registered

    Joined:
    Jan 16, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Yes, i had checked these and im not listed there - the email address thats down as the server administrator is on a completely different domain to my email address. Im completely stumped!!

    - - - Updated - - -

    Just to give you an idea of how bad it is, i have just short of a million messages in my in box :(
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,762
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature so we can take a closer look and attempt to determine the source of the messages. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  9. phillbooth

    phillbooth Active Member

    Joined:
    Sep 9, 2013
    Messages:
    33
    Likes Received:
    1
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Try adding this to the end of the cron job >/dev/null 2>&1

    i.e.

    Code:
    15 */6 * * * /usr/local/cpanel/scripts/autorepair recoverymgmt >/dev/null 2>&1;
     
Loading...

Share This Page