Re: [exim] ACL and conditions

Etusivu
Poista viesti
Vastaa
Lähettäjä: Justin Koivisto
Päiväys:  
Vastaanottaja: Andreas Gietl
Kopio: exim-users
Aihe: Re: [exim] ACL and conditions
Andreas Gietl wrote:

> Justin Koivisto <justin@???> wrote:
>
>>I've tried:
>>
>>condition = ${if eq {$domain}{"koivi.com"}{yes}{no}}
>>condition = ${if > {$message_size}{KOIVI_MSG_LIMIT}{yes}{no}}
>>
>>as well as:
>>
>>condition = ${if and {{>{$message_size}{KOIVI_MSG_LIMIT}}
>>{eq{$domain}{"koivi.com"}}} {true}}
>>
>>Neither one of them worked out. Can someone get me on the right track?
>
> you need to combine the two conditions in one with an "and":
>
> http://www.exim.org/exim-html-4.40/doc/html/spec_toc.html#TOC130


Isn't that what the last condition did, or do I not understand what you
are saying?

-JK