Is it possible to tell postfix to log the from and to for a message after it 
has been accepted for delivery?

I get a log line that has the from and to in it For NOQUEUE messages, but I’d 
like the same sort of log line for messages that are being delivered.

Yes, I know the information is there if I search for the queue-id, but it would 
be helpful if I could get the from address included on the postdix/pipe logline 
for “status=sent”

If I can’t add this to that line, is there a way to generate a log line 
something like:

postfix/pipe QUEUEID to=<u...@local.example.com>, 
orig-to=<us...@virtual.example.com>, from=<use...@example.net>, 
ip=<12.34.56.789>, helo=<mail.example.net>

(the last two fields I just threw in, I mostly care about the first three, and 
orig_to is not at all crucial, mostly I want the to and from on a  single line 
on delivered mail).

-- 
'I'm not a thief, madam. But if I were, I would be the kind that steals
fire from the gods.' 'We've already got fire.' 'There must be an upgrade
by now.'

Reply via email to