Re: [Exim] Some questions

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Tamas TEVESZ
Fecha:  
A: Chris Knipe
Cc: exim-users
Asunto: Re: [Exim] Some questions
On Fri, 9 Aug 2002, Chris Knipe wrote:

 >   condition = "${if or eq {{$received_protocol}{scanned-ok}} \
 >                           {match {$domain}{'lists.mydomain.com'}}} \
 >                           {0}{1}"


if i'm not mistaken, that would be

condition = ${if or { \
    { eq{$received_protocol}{scanned-ok} } \
    { match{$domain}{lists.mydomain.com} } \
  }{yes}{no}}


that might be a level more braces than actually needed, but... ;)

btw, why use match if you have a specific domain to match ? eq would
be just as good there (probably less extra overhead)

--
[-]