Re: [Exim] Simple string expansion problem

Pàgina inicial
Delete this message
Reply to this message
Autor: Kirill Miazine
Data:  
A: exim-users
Assumpte: Re: [Exim] Simple string expansion problem
* Greg Ward <gward@???> [20020407 17:38]:
> Now try it with Exim 4:
>
>   $ exim4 -bt python-dev@???
>   python-dev@??? cannot be resolved at this time:
>     failed to expand "/usr/local/mailman/lists/${lc" for require_files: "${lc" is not a known operator (or a } is missing in a variable reference)

>
> Huh? Since when is "lc" not a known operator? Naturally, this simple
> expansion seems to work just fine with "exim -be". Also, if I change
> the expansion to
> require_files = MAILMAN_HOME/lists/${lc:${local_part}}/config.db
>
> then Exim 4 still barfs on it.
>
> Note that downcasing the local part seems to be quite unnecessary; if I
> change the require_files line in question to
> require_files = MAILMAN_HOME/lists/$local_part/config.db
>
> then everything works fine. However, I'm deeply confused about Exim's
> complaint here. What the heck is going on? Am I blind, or is there a
> bug here?


You've not searched the archives. require_files is a list!
MAILMAN_HOME/lists/${lc::${local_part}}/config.db will work.

--
Kirill