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
--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/