Re: [Exim] Mailman with Exim 4 and ${lc:...} error

Top Page
Delete this message
Reply to this message
Author: John Horne
Date:  
To: exim-users
CC: Kirill Miazine, Philip Hazel
New-Topics: Re: [Exim] Mailman with Exim 4 and ${lc:...} error
Subject: Re: [Exim] Mailman with Exim 4 and ${lc:...} error
On 03-Apr-2002 at 08:36:24 Philip Hazel wrote:
> On Tue, 2 Apr 2002, Kirill Miazine wrote:
>
>> Btw, Philip. If I use MAILMAN_HOME/lists/${lc:$local_part}/config.db
>> in require_files, Exim complains:
>>
>> failed to expand "/data/lists/lists/${lc" for require_files: "${lc" is
>> not a known operator (or a } is missing in a variable reference)
>
> I will investigate and see if I can reproduce that. Thanks.
>

Okay call me sad :-) However, I seemed to remember this problem occurring
before. Checking the exim list archives I found:

On Tue, 15 Jan 2002, Jochen Erwied wrote:

> require_files = MAILMAN_HOME/lists/${lc:$local_part}/config.db
>
> results in an error:
>
> failed to expand "/home/mailman/lists/${lc" for require_files: "${lc"
> is not a known operator (or a } is missing in a variable reference)


Notice the string it is trying to expand. Remember that require_files is
_a list_.

s/:/::/

  --
  Philip Hazel            University of Cambridge Computing Service,
  ph10@???      Cambridge, England. Phone: +44 1223 334714.



The subject line was "Exim 3.952: require_files problem".

I also noticed that the list expanded to "/data/lists/lists/..."
                                                ^^^^^^^^^^^


Which may or may not be right :-)



Regards,

John.

------------------------------------------------------------------------
John Horne, University of Plymouth, UK           Tel: +44 (0)1752 233914
E-mail: jhorne@???
PGP key available from public key servers