Re: [exim] Tainted filename for DKIM
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
このメッセージは次のスレッドの一部です:
日付によるスレッドの仕分け
Franz-Werner Gergen 、
2020-06-02 12:50
Jeremy Harris 、
2020-06-02 13:35
著者:
Jeremy Harris
日付:
2020-06-02 13:22
UTC
To:
exim-users
題目:
Re: [exim] Tainted filename for DKIM
On 02/06/2020 13:50, Franz-Werner Gergen via Exim-users wrote:
> dkim_private_key = ${if
> exists{/usr/local/dkim/${dkim_domain}.${dkim_selector}.priv.pem}{/usr/local/dkim/${dkim_domain}.${dkim_selector}.priv.pem}{false}}
> Tainted filename '/usr/local/dkim/is.mpg.de.20190121.priv.pem'
Assuming your build includes the dsearch lookup,
replace your "if exists" expansion with
${lookup {${dkim_domain}.${dkim_selector}.priv.pem} dsearch {/usr/local/dkim}}
--
Cheers,
Jeremy