Re: [exim] tainted filname issue

Etusivu
Poista viesti
Vastaa
Lähettäjä: Wolfgang Breyha
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] tainted filname issue
On 05/05/2021 02:41, Dan Egli via Exim-users wrote:
>   dkim_private_key   = ${if
> exists{/etc/exim/DKIM/${lc:$sender_address_domain}/dkim.private.key.pem}\
> {/etc/exim/DKIM/${lc:$sender_address_domain}/dkim.private.key.pem}{0}}


That's a classic already searchable on the list... use dsearch like that:
dkim_private_key = ${lookup {${dkim_selector}.${dkim_domain}.pem}
dsearch,ret=full {/etc/mail/domainkeys}}

Greetings, Wolfgang
--
Wolfgang Breyha <wbreyha@???> | https://www.blafasel.at/
Vienna University Computer Center | Austria