Re: [exim] Unable to read domainkey file

Top Page
Delete this message
Reply to this message
Author: Luca Bertoncello
Date:  
To: Exim-Users
Subject: Re: [exim] Unable to read domainkey file


Am 20.03.2021 um 09:43 schrieb Andrew C Aitchison via Exim-users:

Hi Andrew!

> The message says "Tainted filename"
> recent versions of exim refuse to open files with names derived from the
> incoming message unless they have been "sanitised" eg by a database
> lookup. To be certain we would have to see how the filename is created
> in your config file, but you *may* be able to fix this by changing
> $domain to $domain_data


This is my transport:

remote_smtp_DK:
driver = smtp
helo_data = $smtp_active_hostname
dkim_canon = relaxed
dkim_domain = $sender_address_domain
dkim_selector = ${substr{0}{4}{$tod_zulu}}
dkim_private_key = /etc/exim/domainKeys/$dkim_domain/$dkim_selector.priv
interface =
${lookup{$sender_address_domain}lsearch{/etc/exim/mailouts}{$value}{<;
DEFAULT_IPv4 ; DEFAULT_IPv6}}
tls_try_verify_hosts = !*

I'm not sure what you mean with "changing $domain to $domain_data"...
Could you explain it?

Thanks
Luca Bertoncello
(lucabert@???)