Re: [exim] ''multidomain'' DKIM: sender or from?

Top Pagina
Delete this message
Reply to this message
Auteur: Marco Gaiarin
Datum:  
Aan: Jasen Betts
CC: exim-users
Nieuwe Onderwerpen: [exim] smtp_accept_max_nonmail_hosts
Onderwerp: Re: [exim] ''multidomain'' DKIM: sender or from?
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)