[exim] Quoting questions

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Steffen Heil (Mailinglisten)
Datum:  
To: exim-users@exim.org
Betreff: [exim] Quoting questions
Hi

I have a text-file that I use for lookups like this:
set acl_m1 = ${lookup{a@???}lsearch*@{filename}{$value}fail}
then I extract some information from this:
${extract{key}{$acl_m1}}
Also, I need to extract a password from this:
${extract{pass_key}{${lookup{$1}lsearch{filename}{$value}fail}}}

A sample line of this file would be:
*@b.de: field="value" pass="abcd"

Now, how do I have to escape in this case?
Especially do I have to escape once or twice?

Does the lookup unescape what is found? Does extract unescape the value?

Best regards,
Steffen