dattier(_at_)wwa(_dot_)com (David W. Tamkin) writes:
Procmail has built-in size testing conditions:
:0
* > 10240
do_this
If you want to measure only the body, though, and ignore the size of the
head, it's a little more complicated, because ">" and "<" do not respond
(last I knew) to the H and B flags:
This is correct. However, as of version 3.11pre (not sure which),
">" and "<" _do_ correctly work with "H ??" and "B ??", ala:
:0
* B ?? > 10240
do_this
This inconsistency is definately a wart, though I'm mixed on whether to
call it a bug. Either it should be changed or a minor documentation
tweak documenting the behavior should probably be made. Hmm...
Philip Guenther