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

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Marco Gaiarin
日付:  
To: Jasen Betts
CC: exim-users
新しいトピック: [exim] smtp_accept_max_nonmail_hosts
題目: 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)