FW: [Exim] Choosing who check

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tony Lucas
Fecha:  
A: 'exim-users@exim.org'
Asunto: FW: [Exim] Choosing who check
> Ciao,
> Wed, Aug 08, 2001 at 09:58:47AM +0100, Tony Lucas wrote:
>
> > MYSQL_ANTIVIR = SELECT id FROM domains WHERE domain='${domain}' AND
> > antiv='Y' 
> how was you able to do that ? here is what I did:
> scanmails:
>   ANTIVIR = select uid from exim where username='${local_part}' and
> domain='${domain}' and antivirus='t'
> #  condition = "${if or {{eq {$received_protocol}{scanned-ok}}} \
>   condition = "${if or {{eq {${lookup pgsql{ANTIVIR}{t}}}{}} {{eq
> {$received_protocol}{scanned-ok}}} \
>     {0}{1}}"
>   driver = localuser
>   transport = scanmails

>
> but when connecting to port 25 I get:
>
> Escape character is '^]'.
> 2001-08-08 11:56:42 Exim configuration error
> option "ANTIVIR" unknown in line 321 ("driver" must be
> specified before
> any private options)
> Connection closed by foreign host.
>
> I tried to move up the driver definition with no solution...
>


Im far from an expert, but the 'yes' in the condition, should stay as
yes, because thats just telling the condition that the result was
positive, replacing whatever data was actually generated.

Only other difference being Im using smartuser as a driver rather tham
localuser, if that might be it......

Regards,

Tony Lucas
XCalibre Communications Ltd
http://www.xcalibre.co.uk