Szerző: Dean Brooks Dátum: Címzett: exim-users Tárgy: Re: [exim] Bug in exim 4.50
On Thu, Jun 22, 2006 at 12:54:30PM +1000, Russell Stuart wrote:
> Apologies if this has already been fixed; I don't
> have a current version of exim handy. The bug is
> trivial to reproduce:
>
> $ exim -be '${if and { { !match {^} {} } { match {$h_To} {^} } } {no}
> {yes} }'
> Failed: missing 2nd string in {} after "match" inside "and{...}" condition
Not sure why it gives that error, but you forgot the colon after the
$h_To. That seems to correct the error.
Also, not sure if you meant to put the carat (^) in the first string
in the first match() statement, but if you meant to use it as a regex
anchor, it probably belongs in the second string.