On Sun, Dec 11, 2022 at 03:27:43PM +0300, Mehmet Avcioglu wrote:
> Is it possible to log the result of a table lookup? Perhaps similar to the
> header_checks INFO option.
No. There is presently no syntax for tables that log lookup keys and
results.
If you want to log table lookups on a temporary basis for debugging
purposes only, you can raise the Postfix verbosity level by adding
"-v" flags (at most 2) to the master.cf service you want to debug.
Running with "-v" flags all the time would flood your logs with
junk and significantly degrade performance, so this is not a
strategy for routine logging of queries.
--
Viktor.