From: Erik Logtenberg on
On 06/15/2010 11:54 PM, Noel Jones wrote:
> On 6/15/2010 4:30 PM, Jeroen Geilman wrote:
>>>
>>> Hi,
>>>
>>> Postfix smtp logs outgoing emails like this:
>>>
>>> postfix/smtp[13950]: E6DA025473: to=<user(a)domain.tld>, relay=none,
>>> delay=4537, delays=4536/0.06/0.53/0, dsn=4.4.1, status=etc...
>>>
>>> I noticed that when an email has more than one receipient, smtp will log
>>> separate messages, one for every receipient. Will smtp always do this,
>>> or are there circumstances where smtp will not log every receipient
>>> separately?
>>>
>>> Kind regards,
>>>
>>> Erik.
>>
>> Postfix logs one line for each queued message - it has to, because each
>> queued message has a temporally unique queue-ID.
>
> That should be "at least one line". Postfix qmgr logs each time a
> message enters the active queue.
>
>>
>> Each queued message has one recipient.
>
> No, a message may have many recipients. Every smtp recipient is logged,
> each in its own log entry. For a given message, qmgr will log the total
> number of recipients as nrcpt=N. Individual recipients of that message
> can be correlated via the QUEUEID.
>
>
>
> -- Noel Jones

Ah, the answer to my question was given by Noel and entered my inbox
seconds after I sent my last email. So never mind that next question,
thanks Noel for explaining.

From: Jeroen Geilman on
> On 6/15/2010 4:30 PM, Jeroen Geilman wrote:
>>>
>>> Hi,
>>>
>>> Postfix smtp logs outgoing emails like this:
>>>
>>> postfix/smtp[13950]: E6DA025473: to=<user(a)domain.tld>, relay=none,
>>> delay=4537, delays=4536/0.06/0.53/0, dsn=4.4.1, status=etc...
>>>
>>> I noticed that when an email has more than one receipient, smtp will
>>> log
>>> separate messages, one for every receipient. Will smtp always do this,
>>> or are there circumstances where smtp will not log every receipient
>>> separately?
>>>
>>> Kind regards,
>>>
>>> Erik.
>>
>> Postfix logs one line for each queued message - it has to, because each
>> queued message has a temporally unique queue-ID.
>
> That should be "at least one line". Postfix qmgr logs each time a
> message enters the active queue.
>
>>
>> Each queued message has one recipient.
>
> No, a message may have many recipients. Every smtp recipient is
> logged, each in its own log entry. For a given message, qmgr will log
> the total number of recipients as nrcpt=N. Individual recipients of
> that message can be correlated via the QUEUEID.
>
>
Yeah, my big mouth. The upshot was: they all get logged :)
J.