Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is Postfix connection cache also applicable for address verification probes?

My setup of 2 frontends with 1 backend sometimes runs into trouble under high load. Frontends verify recipients on the backend before accepting mail. Both positive and negative results are cached on the frontends to avoid too many probes. However, when there are loads of random generated recipients (spam) hitting the frontends, there still occur many probes.

The frontends then hit connection rate limits on the backend because they establish new connection for each address verification probe.

Connection cache is supposed to automatically cache connections for destinations with high volume as per smtp_connection_cache_on_demand. But it doesn't look like this is happening for address verification probes since they are not going through the active queue.

Would supplying the backend in smtp_connection_cache_destinations help here?

share|improve this question
up vote 1 down vote accepted

The address verification probes have their own cache mechanism. You can see the available parameters and their cache timeout values in it's documentation.

But you are right that connection cache and address verification can not be combined (at least for your purpose).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.