Fix length expansion operator in DKIM downgrade example
authorPhil Pennock <pdp@exim.org>
Fri, 13 Apr 2018 22:35:20 +0000 (18:35 -0400)
committerPhil Pennock <pdp@exim.org>
Fri, 13 Apr 2018 22:35:20 +0000 (18:35 -0400)
doc/doc-docbook/spec.xfpt

index a35a8bf267e04e6f4da70986ba3a7a816d64b657..dfe84c33d07051324ed0a17cb8a21cd573526d2e 100644 (file)
@@ -39222,7 +39222,7 @@ This might, for instance, be done to enforce a policy restriction on
 hash-method or key-size:
 .code
   warn condition =     ${if eq {$dkim_verify_status}{pass}}
 hash-method or key-size:
 .code
   warn condition =     ${if eq {$dkim_verify_status}{pass}}
-       condition =     ${if eq {$len_3:$dkim_algo}{rsa}}
+       condition =     ${if eq {$length_3:$dkim_algo}{rsa}}
        condition =     ${if or {eq {$dkim_algo}{rsa-sha1}} \
                                {< {$dkim_key_length}{1024}} }
        logwrite =      NOTE: forcing dkim verify fail (was pass)
        condition =     ${if or {eq {$dkim_algo}{rsa-sha1}} \
                                {< {$dkim_key_length}{1024}} }
        logwrite =      NOTE: forcing dkim verify fail (was pass)