Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 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

 
discard

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.