Skip to main content

Name

match_cache_size — the size of the cache that holds the results of looking up matching scopes

Synopsis

match_cache_size = 16384

Description

This option determines the maximum number of elements in a cache that holds the results of looking up matching scopes. It applies to regex domains, Peer scopes in listeners, and any user-defined scopes that use matching.

For example, if your configuration uses regex domains, then, for best performance, the cache size should be larger than the number of unique queries. This should be at least the number of unique destination domains to which you send.

It is not necessary to restart the MTA if changes are made to this option using config set .

The default value is 16384.

Warning

The Match_Cache_Size MUST NOT be set to 0; doing so will result in undefined behavior.

Scope

match_cache_size is valid in the global scope.

See Also

Was this page helpful?