Re: [exim] Automatic /var/spool/mail cleaning
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
This message is part of the following thread:
the complete thread tree sorted by date
Heiko Schlittermann at
2006-07-20 09:04
Chris Lightfoot at
2006-07-20 09:19
Author:
Craig Whitmore
Date:
2006-07-20 09:10
UTC
To:
exim-users, Cédric MARCOUX (sprimont)
Subject:
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