A couple grep's and less's later....

The spool_dir is mentioned solely in lib/Qpsmtpd/Transaction.pm but does 
appear to be configurable. From my brief sift thru the source, it would 
appear to me that the spool_dir is used to hold the body of each message 
as it is passsed from plug-in to plug-in. For instance, clamav makes use 
of this body-only file to run virus scans. The files _should_ be deleted 
automatically by the daemon before it exits, but as you've shown and I've 
seen on my own system, it's not perfect. 

It should be safe for you to delete any files in there older than a few 
minutes, but don't quote me on that.

On my system, I discovered that part of the slocate cronjob was pruning 
off the default spool_dir. I deleted /var/tmp from /etc/updatedb.conf to 
(hopefully) stop that from happening.

-f

On Mon, 31 May 2004, r wahyudi wrote:

> Hello,
> 
> I am having trouble with spool_dir filling up my storage space.
> 
> I didnt recall a file called spool_dir in the config directory, which 
> pointing to tmp directory,
> I never had this problem before, the only thing i did was adding more rbl 
> record and
> using external spamd instead the one on localhost.
> 
> here is the log from one transaction :
> 
> 936 dispatching RCPT TO: <rdewitt>
> 936 running plugin  rhsbl
> 936 running plugin  dnsbl
> 936 running plugin  check_badmailfrom
> 936 running plugin  check_badrcptto
> 936 running plugin  check_relay
> 936 250 rdewitt, recipient ok
> 936 dispatching DATA
> 936 354 go ahead
> 936 spool file = /var/qmail/qpsmtpd/tmp/
> 936 max_size: 6500000 / size: 1289
> 936 running plugin  klez_filter
> 936 running plugin  check_for_virus_attach
> 936 running plugin  spamassassin
> 936 spamassassin plugin: ***** SpamAssassin Analysis Report:
> 936 spamassassin plugin: ***** X-Spam-Score: 0.4 (m: 4 / r: 120)
> 936 running plugin  queue::qmail_2dqueue
> 936 250 Queued! <MIECKGHCHPDPLMEACMNCOEEECOAA.treaclbk>
> 936 dispatching QUIT
> 
> in /var/qmail/qpsmtpd/tmp, i had files like :
> 1085975646:43509:0
> 1085975667:43728:0
> etc ...
> hundreds of them...
> 
> What is this file ? Why is it doing this ?
> How do I stop these files mounting up ?
> Is is save to delete them ?
> 
> 
> Anyhelp will be appreciated ...
> 
> regards,
> RIO
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar – get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> 

Reply via email to