At 21:42 +1000 27-09-2007, Christian Lerrahn wrote: > > Hi >> >> You should stop qmail and wait until all the active connections are >> close properly, then you can safely remove purge those directories, >> and restart qmail. > >I purged the directories meanwhile and restarted everything. However, >the directories keep growing sometimes at a rapid rate. The strange >thing is that I can check /var/spool/qmailscan/qmail-queue.log, find an >entry like > >Thu, 27 Sep 2007 06:38:22 EST:2609: SA: yup, this smells like SPAM - >hits=6.4/4.2/4.2 - tagging message... Thu, 27 Sep 2007 06:38:22 >EST:2609: SA: finished scan in 6.022031 secs - hits=6.4/4.2 Thu, 27 Sep >2007 06:38:22 EST:2609: p_s: finished scan in 0.022091 secs Thu, 27 Sep >2007 06:38:22 EST:2609: ini_sc: finished scan of >"/var/spool/qmailscan/tmp/mail11908930947182609"... Thu, 27 Sep 2007 >06:38:22 EST:2609: ------ Process 2609 finished. Total of 7.881787 secs > >However, if I check for /var/spool/qmailscan/tmp/mail11908930947182609 >that directory still exists and there are files in it. Should these >files not be deleted once they aren't needed any more? Any hints why >they are not getting deleted? >
Of course those files and directories shouls be deleted when qmail-scanner finish processing them. In version 1.25st, this is the code thar removes those files and directories: system("$rm_binary -rf $ENV{'TMPDIR'}/ $scandir/$wmaildir/new/$file_id") if ($DEBUG < 100 && $file_id ne ""); ST ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general