Re: [exim] Quoting problem in string expansion with fancy he…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Phil Pennock
Fecha:  
A: Axel Rau
Cc: Exim-users
Asunto: Re: [exim] Quoting problem in string expansion with fancy header
On 2013-09-27 at 12:32 +0200, Axel Rau wrote:
> how can I prevent this error:
> ---
> 1VPTGe-0006Ow-5x H=r22.email.someuser.com (r22.p4.someuser.net) [2.3.4.5] F=<someuser@???> temporarily rejected after DATA: failed to expand ACL string "${if eq {${lookup pgsql {SELECT * FROM record_Reception( warn#011#011condition = ${if eq {${lookup pgsql {SELECT * FROM record_Reception( '${quote_pgsql:$acl_m_mail_id_list}', '${quote_pgsql:$message_exim_id}', '${quote_pgsql:${if def:h_from:{$h_from:}{$h_sender:}}}', '${quote_pgsql:$h_Subject:}', '${quote_pgsql:$dkim_verify_status}', '${quote_pgsql:N/A}')}}}{t}}": missing } at end of string
> ---
> ? The config fragment is:
> ---
>   warn        set acl_m_tmp = no
>   warn        condition = ${if eq {${lookup pgsql {SELECT * FROM record_Reception( \
>                         '${quote_pgsql:$acl_m_mail_id_list}', \
>                         '${quote_pgsql:$message_exim_id}', \
>                         '${quote_pgsql:${if def:h_from:{$h_from:}{$h_sender:}}}', \
>                         '${quote_pgsql:$h_Subject:}', \
>                         '${quote_pgsql:$dkim_verify_status}', \
>                         '${quote_pgsql:N/A}')}}}{t}}
>             set acl_m_tmp = yes


That is not the expansion triggering the error message. If you look,
you'll see that the error message has the first part of this expansion
twice, with some Exim ACL configuration then embedded as part of the
PostgreSQL query string.

-Phil