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

aarCarr

Registered
Jan 16, 2014
4
0
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

aarCarr

Registered
Jan 16, 2014
4
0
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?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

aarCarr

Registered
Jan 16, 2014
4
0
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 :(
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
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.
 

phillbooth

Active Member
Sep 9, 2013
41
4
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;