[exim] Expansion errors on upgrade to 4.80

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Andy Bennett
Datum:  
To: exim-users@exim.org
Betreff: [exim] Expansion errors on upgrade to 4.80
Hi,

I've been running exim 4.72 for some time and last night I upgraded to 4.80.

Now I'm seeing this in my log:

-----
2016-07-19 19:15:58 1bPZYk-0003Ba-Bh F=<> rejected by non-SMTP ACL:
failed to expand ACL string "${if
!match_address{$h_From:}{${lookup{$sender_ident}lsearch{/etc/exim4/local_senders}}}}":
missing or misplaced { or }
-----

I have these lines in the config file:

In the global section:

-----
LOCAL_SENDERS = ${lookup{$sender_ident}lsearch{/etc/exim4/local_senders}}
-----

In acl_check_local:

-----
  warn
          condition = ${if !match_address{$h_From:}{LOCAL_SENDERS}}
          add_header = Sender: $sender_address
-----



This has been working fine in 4.76 but now the expansion seems to fail
and it's not obvious to me as to why.

I've read the ChangeLog
(ftp://mirror.easyname.at/exim-ftp/exim/exim4/ChangeLog ) and nothing
immediately springs out at me and I've noodled around with `exim -be`:

-----
> LOCAL_SENDERS = ${lookup{$sender_ident}lsearch{/etc/exim4/local_senders}}

LOCAL_SENDERS = andyjpb@???
> ${if !match_address{$h_From:}{LOCAL_SENDERS}}

true
> ${if

!match_address{$h_From:}{${lookup{$sender_ident}lsearch{/etc/exim4/local_senders}}}}
Failed: missing or misplaced { or }
-----

...so each part in turn seems to work but the composition does not.


Does anyone have any idea where I'm going wrong and what I can change to
make it work again?


Thanks for your help.





Regards,
@ndy

--
andyjpb@???
http://www.ashurst.eu.org/
0290 DA75 E982 7D99 A51F E46A 387A 7695 7EBA 75FF