[pfx] Re: Resolve sender domains in file before resorting to database

2024-03-02 Thread Viktor Dukhovni via Postfix-users
On Wed, Feb 28, 2024 at 12:17:27PM -0600, Joshua Flanagan via Postfix-users wrote: > Anyone else have suggestions on how to make sure postfix queries a file > table _by domain_ while still having a remote database lookup table as a > backup/last resort? To restrict database lookups to a subset

[pfx] Re: Resolve sender domains in file before resorting to database

2024-02-26 Thread Joshua Flanagan via Postfix-users
If I understand correctly, you simply changed which part of the regular expression was captured. That does not solve my problem, as it still will cause all requests to hit the database, even when the domain exists in the hash file. Desired flow when the sender's domain DOES exist in the hash