From a database point of view, unless you have an ORDER BY statement in your query, the order returned could be either (unless postfix’s code is sorting them).
If postfix only wants a single result, then your query would need a LIMIT statement in it. > On Feb 19, 2021, at 5:19 PM, Wietse Venema <[email protected]> wrote: > > Antonio Leding: >> Ok? >> >> So if I have the following: >> >> example.com OK >> example.com REJECT >> >> Then the correct Postfix lookup behavior is to return OK,REJECT > > That is what the database client does. > > However, there is no Postfix code that wants "OK,REJECT" as > a lookup result. > > Wietse
