Prev: How to force SMTP AUTH to restrict Sender Addresses?
Next: Smtpd_sender_maps and sender / recipient restrictions
From: Erik Logtenberg on 15 Jun 2010 16:37 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.
From: Michael J Wise on 15 Jun 2010 17:09 On Jun 15, 2010, at 1:37 PM, Erik Logtenberg wrote: > 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? It will always do that. Aloha, Michael. -- "Please have your Internet License http://kapu.net/~mjwise/ and Usenet Registration handy..."
From: Jeroen Geilman on 15 Jun 2010 17:30 > > 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. Each queued message has one recipient. J.
From: Noel Jones on 15 Jun 2010 17:54 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
From: Erik Logtenberg on 15 Jun 2010 17:55
On 06/15/2010 11: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. > > Each queued message has one recipient. Are you quite sure about this specific claim? When i send an email to three receipients, there are indeed three lines logged, but they all share the same queue ID. I even noticed that when i send an email to three different users of the same domain, that the receiving postfix will actually queue the message once, so on the sending side there are three log lines, one for every receipiend, but each with the same local queue ID and also each with the same remote response, containing three times "queued as <the same queue id>". |