Deleting emails older than 2 years

to view:

find /home/*/mail/*/*/cur -mtime +729 -type f -ls

to delete:

find /home/*/mail/*/*/cur -mtime +729 -type f -delete

 

Leave a Reply

Your email address will not be published.