Victor Duchovni wrote:
On Wed, Sep 17, 2008 at 10:09:53PM +0500, rihad wrote:

Correcting myself once again: It's not OK :) I forgot to mention that all those 4 requests were the result of me issuing RCPT TO alone. I can't see how message acceptance or routing are involved.

You are wasting everyone's time with this line of inquiry. Postfix
makes the queries it needs to make.  Focusing too closely on that
is not productive. The SQL query cost is not generally performance
limiting, and tuning the low-cost operations is not productive.

That's your opinion. My opinion is that one query should be made, the rest should be cached throughout the end of processing for consistency's sake (let's forget about performance for a moment).

If you want the fewest possible lookups against $mydestination, get
$mydestination out of $relay_domains (backwards compatible, but no
longer optimal default).
relay_domains was and is empty (please see one of my last replies to mouss).

 After that stop counting queries, it is not
a good use of anyone's time.

It's just something for Postfix devs to think about, not necessarily you.

Reply via email to