Installing SquirrelMail
=======================
+NOTE! More thorough and possibly up-to-date information about how
+to install, use and maintain SquirrelMail is available in our online
+documentation here:
+
+http://squirrelmail.org/docs/admin/admin.html
+
+
Table of Contents:
0. (QUICK!) Quick install guide
1. (PHP) Configure your webserver to work with PHP
deletes everything in the attachment directory. Something similar
to the following will be good enough:
- $ cd /var/local/squirrelmail/attach
- $ rm -f *
+ $ cd /var/local/squirrelmail/attach && rm -f *
However, this will delete attachments that are currently in use by people
sending email when the cron job runs. You can either (1) make sure that
attachment directory is the same as your data directory) might look like
this:
- $ rm `find /var/local/squirrelmail/attach -atime +2 | grep -v "\." | grep -v _`
+ $ find /var/local/squirrelmail/attach -type f -atime +2 -exec rm {} \;
Remember to be careful with whatever method you do use, and to test out
the command before it potentially wipes out everyone's preferences.