Per Jessen: > Wietse Venema wrote: > > > When Postfix reuses an SMTP connection, it may actually be reused > > in a different SMTP client process. This maximizes reuse and > > minimizes the time that a connection sits idle. > > > > This is different from Sendmail or Exim, where a connection can be > > reused only in the process that creates that connection. > > > > Postfix doesn't log the "name" of a connection, so you can't how > > it changes hands with connection reuse (this would require logging > > the local TCP port number of reusable connections). > > All of which I think means that the type of tracking Ralf and I tried to > do won't work.
You can sort-of reconstruct this, by looking for records that list the same remote SMTP server: conn_use=n relay=x.x.x[y.y.y.y] conn_use=n+1 relay=x.x.x[y.y.y.y] conn_use=n+2 relay=x.x.x[y.y.y.y] But for real detective work you need the local TCP port number. Every reused connection uses the same remote port (25) and the same local one (local port numbers get reused too, but that tends to have a longer cycle). Wietse