[exim] Correct way to verify $dkim_verify_status

Etusivu
Poista viesti
Vastaa
Lähettäjä: Dominic Preston
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Correct way to verify $dkim_verify_status
Hello,

I was looking for the best way to check the value of $dkim_verify_status
and came across this page:
https://www.exim.org/exim-html-current/doc/html/spec_html/ch-dkim_spf_srs_and_dmarc.html

Within it I see:
  warn condition       = ${if eq {$dkim_verify_status}{pass}}


Am I right in thinking this example would only return true if
$dkim_verify_status was "pass" and not "pass:pass" or "pass:pass:pass"?

If so, what is the best way to check for a $dkim_verify_status pass whether
singular or multiple?

Thanks,
Dominic.

--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/