Re: [exim] string expansion failure exim 4.80

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] string expansion failure exim 4.80
On 01/08/14 11:13, Uwe Rothmeier wrote:
> Debian 7 (wheezy), Debian-Package exim4-daemon-heavy, 4.80-7
> in rcpt-acl:
>
> condition = ${if
> or{{match_address{$local_part@$domain}{lsearch;CONFDIR/some/file}} \
>
> {match_local_part{$local_part}{lsearch;/etc/exim4/aliases/$domain}}}{1}{0}}
>
> This condition causes an error:
> search_open: lsearch "/etc/exim4/aliases/$domain"
> failed to open /etc/exim4/aliases/$domain for linear search: No such
> file or directory
>
> The domain-variable ist not expanded


This was changed deliberately in 4.77 because it was a common security
hole. The relevant item in the Change Log:

PP/11 match_* no longer expand right-hand-side by default.
      New compile-time build option, EXPAND_LISTMATCH_RHS.



--
Cheers,
Jeremy