On Fri, Apr 22, 2011 at 06:50:36PM +0200, Reindl Harald wrote: > snce we are speaking abount desnder-dependent %s is the sender > %d would be the sender-domain, on other mysql-config places %s > and %d stands for rcpt/rcpt-domain
No, in both cases '%s' is the lookup key and '%d' is its domain part, if the lookup key is an address of the form localpart@domain. When '%d' or '%u' is used in the query template, lookups with keys that are not of the form 'localpart@domain' are suppressed. -- Viktor.