On Sun, Dec 11, 2022 at 3:27 PM Mehmet Avcioglu <mta59...@gmail.com> wrote:
> Is it possible to log the result of a table lookup? Perhaps similar to the > header_checks INFO option. > I guess it is not. I can write a daemon that acts like a tcp map and log the results, but I wouldn't be able to match those log lines to other logs as I wouldn't get the queue id? Is there a way to achieve this? I thought maybe I can rewrite the email addresses to something like email+queu...@domain.com, and that way in a transport lookup I can get the queue id. If I go with this route, what would be the best way to rewrite the email back to its original form at the latest possible step before it is sent out? Thanks -- Mehmet