Every time the cron runs there are some sendmail processes being created which take our machine to huge high loads. We have chased this problem down to cron and sendmail.
Adding MAILTO="" on top of the cron is a solution, piping each cron command to dev null is another solution but I need a global solution... some sort of configuration on cron or so.
Vixiecron DOES NOT have the following option which I believe it would fix my problems
-m This option allows you to specify a shell command to use for sending Cron mail output instead of
using sendmail(8) This command must accept a fully formatted mail message (with headers) on stan‐
dard input and send it as a mail message to the recipients specified in the mail headers. Specify‐
ing the string off (i.e., crond -m off) will disable the sending of mail.
So how can I globally disable cron emails completely?