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

4 posts / 0 new
Last post
#1 Wed, 06/17/2015 - 01:03
DoubleSpeed

/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?

Wed, 06/17/2015 - 07:24
Diabolico
Diabolico's picture

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.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Wed, 06/17/2015 - 08:03
DoubleSpeed

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?

Wed, 06/17/2015 - 10:02
andreychek

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

Topic locked