On 12/14/2017 4:00 AM, Hadmut Danisch wrote:
> Sure, PCRE are possible, but I tend to avoid them, since RE are
> expensive, and changing needs (afaik) a full reload of postfix, while a
> mod to a database file is easier (although I agree that a RE might still
> be faster than a database file lookup).

The expense for PCRE is not significant for relatively small tables,
probably up to low thousands of elements.

As for changes, they will be picked up after either $max_use or
$max_idle, which usually go by pretty quickly.

Or use this cheap trick -- after you change a pcre table, rebuild
some hash table to reload all the changes.



  -- Noel Jones

Reply via email to