Mandi! Jasen Betts
  In chel di` si favelave...

>> To narrow down some corner-cases, there's some way to ''count'' From:
>> header, preventing DKIM signature if count <> 1?
> ${domain:$h_from} comes up blank if there are multiple addresses.

Ok, so a macro like:

 DKIM_SELECTOR = 2017
 DKIM_DOMAIN = ${lc:${domain:$h_from:}}
 DKIM_PRIVATE_KEY = ${if 
exists{/etc/exim4/dkim/DKIM_DOMAIN-DKIM_SELECTOR-private.pem}{/etc/exim4/dkim/DKIM_DOMAIN-DKIM_SELECTOR-private.pem}{0}}

will catch such ''errors'' (corner cases), 'till the certificate
'/etc/exim4/dkim/-2017-private.pem' does not exist.

Good. Thanks.

-- 
  Stanno arrivando da lontano con il futuro nella mano
  sotto la pioggia                                      (A. Venditti)



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to