Skip to content

Instantly share code, notes, and snippets.

@jauderho
Created June 13, 2010 03:01
Show Gist options
  • Save jauderho/436290 to your computer and use it in GitHub Desktop.
Save jauderho/436290 to your computer and use it in GitHub Desktop.
2) The following commands will remove old attachments and emails. However, email may work funny after this is run and it's advisable to reboot.
# find /var/luna/data/emails -type f -mtime +7 -exec rm -f {} \;
# find /var/luna/data/attachments -type f -mtime +7 -exec rm -f {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment