Is there any way to test the size of the buffer (the one referenced by
LINEBUF) from within a procmail script? I'd like to do something like:
:0 HB
* ()\/(spamdomain\.one|\
spamdomain\.two|\
...)
{
:0 c
* $BUFFER > $LINEBUF - 100
| echo "Buffer is approaching max for this recipe"
:0
spam
}
Right now my log analyser flags buffer overflows *after/when* they've
occured. I'd like to be able to catch them *before* they occur.
- fleet -
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail