[Exim] condition with mysql

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Fábio Berbert de Paula
Dátum:  
Címzett: exim-users
Tárgy: [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