[Exim] condition with mysql

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Fábio Berbert de Paula
Fecha:  
A: exim-users
Asunto: [Exim] condition with mysql
Hi all,

I have a defined query MYSQL_ALIAS that return the value 'yes' or 'no'
recovered by an enum field and I am trying to define a condition to my
virtual_autoreply director. Could someone help me ?

In my exim.conf there is something like:

virtual_autoreply:
  driver = smartuser
  condition = ${if and {match {yes}{${lookup mysql{MYSQL_REPLY}{$value}fail}} {true}{false}}}
  senders = "! ^.*-request@.*:\
             ! ^owner-.*@.*:\
             ! ^root@.*:\
             ! ^postmaster@.*:\
             ! ^listmaster@.*:\
             ! ^mailer-daemon@.*"
  no_verify
  transport = address_reply
  unseen


But my condition doesn't work.
Please CC to fabio@???


Thanks,

Fabio Berbert de Paula