Re: [Exim] Some questions

Pàgina inicial
Delete this message
Reply to this message
Autor: Tamas TEVESZ
Data:  
A: Chris Knipe
CC: exim-users
Assumpte: 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)

--
[-]