3. Attachment Directory : $data_dir

[snip]


#Remove cruft from squirrelmail
#0 3 * * * find /var/www/localhost/htdocs/squirrelmail/data -type f -mtime +1 -exec rm -f {} \;


Any advice? Thanks!

Yeah, separate your data and attachments directories! This is NOT NOT NOT a good idea, ESPECIALLY with this cron you have, which will kill the default prefs file and any user's prefs file(s) (and signatures, calendar, etc) who haven't accessed them in a day!


- Paul



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
--
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

Reply via email to