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

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeremy Harris
Datum:  
To: exim-users
Betreff: Re: [exim] Quoting problem in string expansion with fancy header
On 27/09/13 11:32, Axel Rau wrote:
>    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


Check your bracketing very carefully. I suggest a bracket-match-capable
editor; I use vi myself.

(Also, you could collapse the "no" and "yes" results into the ${if }
and only set the m_tmp once).
-- 
Cheers,
    Jeremy