Btw, if you use quarantine-dir option(with localsocket of couse), for
perfomance reason, but do not need all that quarantine files, you could
make them deleted, by patching clamav-milter:

--- clamav-milter.c.orig        2004-05-06 11:20:10.000000000 +0400
+++ clamav-milter.c     2004-05-06 11:20:32.000000000 +0400
@@ -2159,8 +2159,8 @@
                        /*
                         * Cleanup filename here! Default procedure
                         * would delete quarantine file
                         */
-                       free(privdata->filename);
-                       privdata->filename = NULL;
+                       /*free(privdata->filename);
+                       privdata->filename = NULL;*/
                }
 
                if(quarantine) {


On Wed, May 05, 2004 at 09:00:42AM -0500, Matthew Myers wrote:
> Is there a way to auto delete the temp files created when scanning?  My
> system (v 0.70) hung yesterday due to the temp files not being
> deleted...they tend to grow and grow and grow.  Today I already have over
> 10,000 temp files, and although it may take a month or so, this will
> eventually become an issue again.  Any help you can provide to resolve this
> matter is appreciated.
>  
> Thanks,
> Matthew

-- 
 Alex V. Kovirshin <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to