Re: [exim] Bug in string expansion of exim configuration?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Heiko Schlittermann
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Bug in string expansion of exim configuration?
Hi,

Forum <forum@???> (Di 04 Jul 2017 14:20:33 CEST):
> Hello Exim developers,
>
> end of the last year i already have a similar problem.
> (Bug in string expansion of exim configuration?)
> After much work it was possible to get an exim configuration running.
>
> Now i want to migrate from Exim version 4.84.2 to the latest release 4.89-2 in Debian
> and i run again into backward compatibility problems. :-(
>
>
> Jul 04 11:59:38 PC7 exim4[13134]: 2017-07-04 11:59:38 Exim configuration error in line 401 of /etc/exim4/exim4.conf:
> Jul 04 11:59:38 PC7 exim4[13134]: error in ACL: unknown ACL verb "condition" in "condition = ${if < {$message_size}{1M}}"
> Jul 04 11:59:38 PC7 exim4[13134]: Warning! Invalid configuration file for exim4. Exiting....failed.


> acl_check_data:
>
>       condition = ${if < {$message_size}{1M}}


This is clearly wrong.

    acl_check_data:


        accept condition = …


should work. You forgot the ACL verb (which is one of accept, reject,
drop, …, but not "condition")

> This is accepted without problems in Exim version 4.84.2 but not anymore after the upgrade.


Sure? I did a quick check and the above configuration line gets rejected
with 4.84.2 too.

> Besides some more documentation errors:
> --------------------
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpcond
> There are a number of symbolic operators for doing numeric comparisons. They are:
>
> |= | equal
> |== | equal
> --------------------


What's wrong with that?

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -