[exim-dev] [Bug 523] typo in dnsdb description for alternati…

Etusivu
Poista viesti
Vastaa
Lähettäjä: bug523
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 523] typo in dnsdb description for alternative separator
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

http://www.exim.org/bugzilla/show_bug.cgi?id=523





------- Comment #5 from ph10@??? 2007-07-05 09:20 -------
On Wed, 4 Jul 2007, bill-exim@??? wrote:

> ------- Comment #4 from bill-exim@??? 2007-07-04 17:21 -------
> I'm not sure if I phrased my question clearly. I was wondering how Exim
> interpreted my use of the WRONG angle bracket. If that's what you were
> answering, ok, thanks.


Yes, I was. The two different angle brackets have two different
meanings. You can even use both. Here's an example from the Exim test
suite:

${lookup dnsdb{>|mx=<;mxt1.test.ex;mxt2.test.ex}}

Interpretation:

>| means separate multiple output information with |

mx= means lookup MX records (default is TXT)
<; means use ; for the separator of the list of things to lookup

... and the rest is the list. So if you just had

${lookup dnsdb{<:a.b.c}}

it would assume an input list separated by colons (which is of course
the default) and then find just one item in the list.

Is it clear now?

Philip

--
Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email