Re: [Exim] condition issues / amavis & mysql

Pàgina inicial
Delete this message
Reply to this message
Autor: Kirill Miazine
Data:  
A: Yves Thommes
CC: exim-users
Assumpte: 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