Re: [Exim] condition issues / amavis & mysql

Página Inicial
Delete this message
Reply to this message
Autor: Kirill Miazine
Data:  
Para: Yves Thommes
CC: exim-users
Assunto: 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