Chris Hilts said: >> I was wondering if someone can shed some light on a question that I have. >> What is the purpose of the /var/spool/squirrelmail/attach directory and > <SNIP> >> dating >> back from a few weeks ago. Is there any reason I shouldn't delete these >> files? > > It is the location where attachments are temporarily stored during compose > sessions. If the compose times out, occasionally an attachment will be left behind "unclaimed". Yes, you can safely delete older files in this directory. Most of us run a cron job (tmpreaper works like a charm for me) which automatically deletes files over a certain age. >
If you can't setup a Cron Job to do it for you (because of payed hosting, ect...) you can tryout a plugin which I wrote a while back, just never released. When someone logins in, it checks the attachment directory for files over 1 day old (will be configurable later) and deletes them. It also supports having your data directory and your attachment directory the same, as it skips over any php files, the default_pref, address books, ect... There may have been a few I missed that it shouldn't delete, so backup your data directory first! (But in your case, your data and attachment directories are different so it doesn't matter) Anyways, I'll go ahead and release it in a little bit since I see there is need for it, Jimmy ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users