Disable /usr/local/cpanel/scripts/upcp --cron mails ?

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
Hello,

how i can disable sending mails with subject:
"Cron <[email protected]> /usr/local/cpanel/scripts/upcp --cron"

from my WHM server?
The email is sent by cron. To prevent the email you'll need to instruct cron to not send email. You can do this by adding
Code:
MAILTO=""
at the top of the crontab. Please be advised that this will prevent ANY cron job in that crontab from sending email. More information on preventing cron from sending email is available from a simple google search: https://www.google.com/search?q=prevent+cron+from+sending+email
 

postcd

Well-Known Member
Oct 22, 2010
721
21
68
i remember i enabled somewhere in WHM that root emails are forwarded to my mail address, and that is it probably.
// it is there: Home »Server Contacts »Edit System Mail Preferences

what is recommended setting for roots, nobodys, cpanels mail?
 
Last edited: