Re: [Exim] 'and' subcondition evaluation

Etusivu
Poista viesti
Vastaa
Lähettäjä: Nico Erfurth
Päiväys:  
Vastaanottaja: tsh
Kopio: exim-users
Aihe: Re: [Exim] 'and' subcondition evaluation
tsh@??? wrote:
> In the following, I'm trying to make the execution of spam.csh
> conditional on the existence of the file
> /var/exim/userspamcontrol/$local_part/enablescan
>
> The docs say the subconditions are evaluated left-to-right and
> stop when the first one fails, but in this case spam.csh is getting
> executed regardless...


....

> What am I doing wrong?


Nothing, you should upgrade to exim 4.14, this is from the changelog:

2. If ${run appeared in part of a conditional item that was being
    skipped, the actual running of the command was not being skipped.


Nico