[exim] 4.92.2 math or number comparisions not working at all

Top Page
Delete this message
Reply to this message
Author: Rick Cooper
Date:  
To: exim-users
Subject: [exim] 4.92.2 math or number comparisions not working at all
Just brought up two 4.92.2 servers (I know not latest ) and everything that
had to do with math just went crazy. Here is an example of what I mean
notice it triggers on every recipient:

2021-01-18 06:03:42  X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no
F=<AAAAA@???> rejected RCPT <aaaaa@???>: [RCPT] 0 failed recipients
is a good SPAM indicator
2021-01-18 06:03:43  X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no
F=<AAAAA@???> rejected RCPT <bbbbb@???>: [RCPT] 1 failed recipients
is a good SPAM indicator
2021-01-18 06:03:43  X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no
F=<AAAAA@???> rejected RCPT <ccccc@???>: [RCPT] 2 failed recipients
is a good SPAM indicator
2021-01-18 06:03:43  X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no
F=<AAAAA@???> rejected RCPT <ddddd@???>: [RCPT] 3 failed recipients
is a good SPAM indicator
2021-01-18 06:03:43  X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no
F=<AAAAA@???> rejected RCPT <eeeee@???>: [RCPT] 4 failed recipients
is a good SPAM indicator
2021-01-18 06:03:43  X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=no
F=<AAAAA@???> rejected RCPT <fffff@???>: [RCPT] 5 failed recipients
is a good SPAM indicator

deny  message   = $rcpt_fail_count failed recipients is a good SPAM
indicator
    !authenticated = *
    condition = ${if > {${eval:$rcpt_fail_count}}{5}{yes}{no}}

Pretty much everywhere where an integer comparison takes place it's wrong
and many places where I put in debug lines I would see things such as
verified zero showing up as huge numbers, or just 1 like:

  Warning: [DATA] Message Has 578734413500645377 To Or CC Lines

it had zero CC and 1 to and the test

warn set acl_m_TooManyCC = ${reduce {${addresses:$h_To:,$h_Cc:}} {0}
{${eval:$value+1}}}
warn set acl_m_TooManyBC = ${reduce {${addresses:$h_Bcc:}} {0}
{${eval:$value+1}}}

warn log_message =  [DATA] Message Has $acl_m_TooManyCC To Or CC Lines
     sender_domains = !/xxxx/Mail_My_Mail_Domains
        condition = ${if >{$acl_m_TooManyCC}{10}}

warn log_message =  [DATA] Message Has $acl_m_TooManyBC BCC Lines
     sender_domains = !/xxxx/Mail_My_Mail_Domains
       condition = ${if >{$acl_m_TooManyBC}{2}}


I have had to revert back until I can figure this out, I did rebuild clean
a second time but it came out the same, and builds without error.

Any help would be great, I am out of ideas.