Re: [exim] Automatic /var/spool/mail cleaning

Etusivu
Poista viesti
Vastaa
Lähettäjä: Craig Whitmore
Päiväys:  
Vastaanottaja: exim-users, Cédric MARCOUX (sprimont)
Aihe: Re: [exim] Automatic /var/spool/mail cleaning
> But I would like to know if there is a procedure to cleanup
> /var/spool/mail/%users% by deleting mail older then 3 month for exemple
>
> Hope someone got a solution,
>


find /var/spool/mail/ -type f -ctime 3 -exec rm {} \;

but man find before you do this

Thanks
Craig