Re: [Exim] condition issues / amavis & mysql

Top Page
Delete this message
Reply to this message
Author: Kirill Miazine
Date:  
To: Yves Thommes
CC: exim-users
Subject: 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