Re: [Exim] problems combining router condition statements

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Matt Bernstein
Ημερομηνία:  
Προς: Marsh, Ian
Υ/ο: 'exim-users@exim.org'
Αντικείμενο: Re: [Exim] problems combining router condition statements
At 17:07 +0100 Marsh, Ian wrote:

>Can any advise me on how to combine these two router condition statements
>into one? What ever I try it keeps winging about 'missing or misplaced { or
>}'!
>
>condition =
>${lookup{$sender_address}dbm{/usr/local/exim/bypass/bypass.from}{yes}{no}}
>condition =
>${lookup{$sender_address}dbm{/usr/local/exim/bypass/bypass.to}{yes}{no}}


does this work?
condition = ${if and {${lookup1}}{${lookup2}}{yes}{no}}

Matt