[prev in list] [next in list] [prev in thread] [next in thread] 

List:       procmail
Subject:    Re: out of memory error
From:       karthik <karthik () imsc ! res ! in>
Date:       2002-12-27 1:32:11
[Download RAW message or body]

On Dec 25 2002, David W. Tamkin wrote:
> Karthik wrote,
> 
> > :0 Whb: spamprobe.lock
> > SCORE=| $SPAMPROBE receive
> > Instead I get the following in the logfile.
> > procmail: Out of memory
> > buffer 0: "/home/karthik/bin/spamprobe"
> > buffer 1: "SPAMPROBE"
> My first guess is that you're running a version of procmail where, on some
> platforms, variable capture recipes always overflowed.  The workaround was to
> avoid the variable capture syntax.  You have to use a regional lockfile
> instead of a local one, but since you have no conditions on your variable
> capture recipe, you don't need braces:
> 
>  LOCKFILE=spamprobe.lock
>  SCORE=`$SPAMPROBE receive`
>  LOCKFILE
This works fine. Thanks a lot. But why should there be platforms where
var=| cmd will always result in an overflow?

Karthik

-- 
If all statisticians were laid end to end, it would be a good thing. -
Anonymous

_______________________________________________
procmail mailing list
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic