------- 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 Summary: Generic variable containing the item looked for in a (query-style) lookup Product: Exim Version: N/A Platform: Other OS/Version: Linux Status: NEW Keywords: work:small Severity: bug Priority: medium Component: List matching AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: [email protected] OtherBugsDependingO 211 nThis: When using a query-style lookup in e.g. a domains or local_parts condition you can and have to use the relevant variable ($domain, $local_part) in the query, meaning that you can't recycle the query in a named list or macro if the key isn't the same in all places. It also means that you can say silly things like local_parts = mysql;SELECT 1 FROM domains WHERE domain = '$domain'; i.e. it doesn't matter which precondition the query is used in, modulo the order in which the preconditions are evaluated. It's not a huge problem, but it is limiting in some cases. I think there should be a variable that is set to the relevant lookup key before a router or ACL condition is checked. It can be used for the purpose of bug 211 too. -- Configure bugmail: http://www.exim.org/bugzilla/userprefs.cgi?tab=email -- ## List details at http://www.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
