[exim-dev] [Bug 2786] New: spf condition returns "(invalid)"…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2786] New: spf condition returns "(invalid)" on syntax error
https://bugs.exim.org/show_bug.cgi?id=2786

            Bug ID: 2786
           Summary: spf condition returns "(invalid)" on syntax error
           Product: Exim
           Version: 4.94
          Hardware: x86-64
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
          Assignee: jgh146exb@???
          Reporter: thomasm-exim@???
                CC: exim-dev@???


When encountering a syntax error in a SPF record
(example: x4v38.cn TXT "v=spf1 a mx ip4:103.241.73.10-all")
the ACL condition "spf" returns "(invalid)" (seen in Authentication-Results:
header as well as $spf_result variable).
According to documentation (Chapter 58.4) this should be "permerror"; "invalid"
is never mentioned there.

Workaround: ACL condition "spf = permerror:invalid" seems to catch all those
cases...

--
You are receiving this mail because:
You are on the CC list for the bug.