Re: [Exim] condition issues / amavis & mysql

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Kirill Miazine
Fecha:  
A: Yves Thommes
Cc: exim-users
Asunto: 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