Re: [Exim] quoting in local_domains and spec.txt

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Chris Lightfoot
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] quoting in local_domains and spec.txt
On Wed, Jul 03, 2002 at 09:32:31PM +0100, Philip Hazel wrote:
> On Wed, 3 Jul 2002, Chris Lightfoot wrote:

    [ double-colons in domain lists ]

> It should do. Which release of Exim are we talking about? Mind you,


3.33

> doubling the colon has been in Exim for a very long time. Here is the
> code in string_nextinlist:


Yep, I hadn't read it closely enough; it's certainly
present. Oops.

> This does the job. My test are full of this kind of list. You must have
> had some other problem.


Clearly.

It turns out that it wasn't the definition of
local_domains that was the problem, but I'd been caught
out by the fact that the domains = option in a director
is expanded immediately. I don't understand why it works
when I use the <# syntax, though.

(Ah. I think it's because ${quote_mysql:$key} -> $key,
as is a special case; ${quote_mysql::$key} -> :$key, which
then yields a SELECT statement with the : still in it. So
it's not actually applying the quote_mysql operator where
it should, it just appears that it is. So not a
documentation problem, it's just more complicated than I'd
realised.)

--
When you do a good deed, get a receipt,
in case the afterlife is like the Inland Revenue.