> Ian,
>
> These are actually attachments that were never sent.  You may want to
> change the location of where your temporary attachments are stored.
> Change $attachment_dir in config.php
>
> To remove these files you can do something like this (I had to do this
> recently as well):
>
> rm `ls | grep -v *.abook | grep -v *.pref | grep -v *.sig | grep -v
> *.words`
>
> This will remove anything other than the files with those extensions.  Try
> out the command without the rm to see what it lists.
>
> ls | grep -v *.abook | grep -v *.pref | ...

Yow!  Yes, please do do the ls first, since there may be other files you
miss, such as calendar files or login_auto alias files or other files
placed in there by other plugins.  It is an *extremely* bad idea to have
your attachments directory the same as your data directory.  Once you
ferret out the orphaned attachments (not sure why they'd be viruses unless
your system or your users are completely borked), make a separate
attachments directory elsewhere (see website docs for help) and create a
cron job that kills old files something like this:

rm -f `find /var/spool/squirrelmail/attachments -atime +2`



-------------------------------------------------------
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_id70&alloc_id638&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to