Re: [Exim] reading a host list from a file whose name the re…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Marc Haber
Datum:  
To: exim-users
Betreff: Re: [Exim] reading a host list from a file whose name the result of an expansion
On Tue, 8 Apr 2003 14:03:58 +0100 (BST), Philip Hazel
<ph10@???> wrote:
>deny message = go away
>        hosts = ${if exists{/etc/exim4/local_host_blacklist}\
>                           {/etc/exim4/local_host_blacklist}\
>                           {}}

>
>I don't see any quotes there...
>
>Or did you not post what you were actually using? :-)


I composed my original message before doing some syntactical
experiments. What was left in the expression was:

        hosts = "${if exists{/etc/exim4/local_host_blacklist}\
                           {/etc/exim4/local_host_blacklist}\
                           {}}"


With the quotes removed, things work as expected.

Thanks again for helping.

Greetings
Marc

--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29