Re: [Exim] condition issues / amavis & mysql

Etusivu
Poista viesti
Vastaa
Lähettäjä: Kirill Miazine
Päiväys:  
Vastaanottaja: Yves Thommes
Kopio: exim-users
Aihe: Re: [Exim] condition issues / amavis & mysql
Kirill Miazine wrote:
> A condition that might work (I haven't tested it):
>
>     condition = ${if and {\
>         {eq\
>             {$received_protocol}\
>             {scanned-ok}}\
>         {eq\
>             {${lookup mysql{SELECT checkvirus FROM users \
>                             WHERE checkvirus='yes' AND username='$local_part' \
>                             AND domain='$domain'}}}\
>             {yes}}

                    ^^^^


Duh. A backslash forgotten at the end.

>         }{yes}{no}}


--
Kirill Miazine, Stud.Jur.
Faculty of Law, University of Oslo