[exim] Re: Tainted filenames?

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Jasen Betts
日付:  
To: exim-users
題目: [exim] Re: Tainted filenames?
On 2024-08-22, Marco Gaiarin via Exim-users <exim-users@???> wrote:
>
> I'm 'de-tainting' my old exim config file, but i've found a trouble.
>
> I've a transport that have:
>
>     dkim_private_key = ${if exists{/etc/exim4/dkim/DKIM_DOMAIN-DKIM_SELECTOR-private.pem}{/etc/exim4/dkim/DKIM_DOMAIN-DKIM_SELECTOR-private.pem}{0}}


use ${lookup {...} dsearch ... } instead of ${if ...

https://www.exim.org/exim-html-current/doc/html/spec_html/ch-file_and_database_lookups.html


--
Jasen.
🇺🇦 Слава Україні

--
## 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/