[Exim] condition with mysql

Pàgina inicial
Delete this message
Reply to this message
Autor: Fábio Berbert de Paula
Data:  
A: exim-users
Assumpte: [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