[exim-dev] [Bug 459] Generic variable containing the item lo…

Top Page
Delete this message
Reply to this message
Author: bug459
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 459] Generic variable containing the item looked for in a (query-style) lookup
------- 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=459





------- Comment #2 from holmgren@??? 2007-02-01 10:06 -------
On Thursday 01 February 2007 10:34, ph10@??? wrote:
> What should this key contain for a hosts condition?


:-P

Why, the hostname of course. You'd have to use e.g. net-mysql to make the IP
address be the key, in a manner similar to single-key lookups.

Or there could be two variables; one for IP addresses and one for everything
else. That would still make lookups recyclable.

But the big problem is that the query string is in many cases expanded before
it's passed to match_isinlist() or match_address_list(). That would have to
change.

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