On 2/3/2018 2:28 PM, Alex wrote:
I've also had a problem when trying to write rules that rely on or
otherwise measure the length of the body. A more complicated set of
rules are needed for that, if it's even possible/reliable.
Take a look at these rules for an example:
72_active.cf: body __KAM_BODY_LENGTH_LT_1024
eval:check_body_length('1024')
72_active.cf: body __KAM_BODY_LENGTH_LT_128
eval:check_body_length('128')
72_active.cf: body __KAM_BODY_LENGTH_LT_256
eval:check_body_length('256')
72_active.cf: body __KAM_BODY_LENGTH_LT_512
eval:check_body_length('512')
Regards,
KAM