Re: [exim] Problems with ${if ..} conditions

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stephen Gran
Date:  
À: exim-users
Sujet: Re: [exim] Problems with ${if ..} conditions
On Fri, Mar 04, 2005 at 05:21:47PM +0100, Nikolaus Rath said:
>
> Hello,
>
> # ./exim -be '${if eq {a}{b} {true} {false}}'
> Failed: missing } at end of "eq" condition
> #
>
> What's going on here? IMHO this condition is perfectly valid. I get the
> same error no matter what condition I use. Writing the condition
> directly inside an ACL doesn't change anythink as well.


steve@gashuffer:~$ exim -be '${if eq {a}{b} {true} {false}}'
false
steve@gashuffer:~$ exim -bV
Exim version 4.50 #1 built 01-Mar-2005 06:49:12
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December 3, 2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated

I have no idea.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | Being schizophrenic is better than      |
|  steve@???             | living alone.                           |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------