Jeff Weinberger:
> I am using mysql (quite successfully in most cases) to do lookups for
> a variety of reasons in postfix.
> 
> Recently, I had some issues with a domain lookup and in the testing
> tried varying my MySQL query between using %d and %s as the lookup
> key.
> 
> The documentation is clear on this when the query is for an address.

The %d is defined when a key or result is an address:

              %d     When the input key is an address of the form u...@domain,

              %d     When  a  result attribute value is an address of the form
                     u...@domain

Therefore, %d is not defined for non-address forms.

        Wieste

Reply via email to