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(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail