Re: [exim] DKIM and debian buster...

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marco Gaiarin
Data:  
Para: Jeremy Harris via Exim-users
CC: exim-users
Assunto: Re: [exim] DKIM and debian buster...
Mandi! Jeremy Harris via Exim-users
In chel di` si favelave...

> You didn't mention what, if any errors were logged.


No.


> I'm guessing you're trying to use a tainted string as a filename.
> If so, the usual rules apply: you must now verify the string in
> a way that Exim understands, so as to produce an untainted string
> which you are then allowed to use in opening a file.
> For your purpose, since it's a file that must exist in the filesystem
> you can use a dsearch lookup. And that replaces your exists{} test
> also.


Something like:

    DKIM_PRIVATE_KEY = ${lookup {DKIM_DOMAIN-DKIM_SELECTOR-private.pem} dsearch,filter=file {/etc/exim4/dkim}}


but this lead to:

    2020-07-03 23:54:30 1jrTdd-0000nY-Rr failed to expand dkim_private_key: unknown lookup type "dsearch,filter=file"


-- 
  Mi piaccion le fiabe
  raccontane altre                    (F. Guccini)