[exim] How to Remove new line or space (or how to escape dki…

Top Page
Delete this message
Reply to this message
Author: Marcin Mirosław
Date:  
To: exim-users
Subject: [exim] How to Remove new line or space (or how to escape dkim selector)
Hi!
I'd like to setup configuration which supports keeping DKIM key&selector
in files. In one file I'd like to keep selector. Content of the file can
be "string" or "string\n" or ... "\nstring\n\n". No one pay attention if
there is new line on the end of last line.
If I use selector which contains new line then Exim add new line to
headers. Then all headers are messed up.
As I can see I can't use ${tr} to remove a sign, which function could be
usefull in this case?
Marcin