/root/Maildir/new/ full of Cron Daemon reports!

I’ve found that the /root/Maildir/new/ folder contains 1.4GB’s of Cron Daemon reports! which are not needed to be kept for any length of time can anyone advise how I can automatically remove reports over a few days old?

Send the reports to another email account on the server, e.g. any virtual server admin account will work just point that cron emails go to that account and not root. It will be easier to keep track to them and delete what you dont need.

What controls the destination of the cron email as this isn’t set in the cron jobs? How can I clear down the root 1.4GB mail box?

Howdy,

Actually, what I might suggest is setting up an alias, so that any email sent to the root user goes to an account you’re monitoring.

You can set that up by editing /etc/aliases, and setting up an alias for the root user there.

Once you make a change to that file, you’d want to run the command “newaliases”.

-Eric