Re: Question about log messages and connection caching

2008-08-30 Thread Wietse Venema
Per Jessen: [ Charset UTF-8 unsupported, converting... ] > Wietse Venema wrote: > > >> Whilst on the subject of connection caching, I assume postfix will > >> (have > >> to) do a RSET between each reuse of a connection? (just a sanity > >> check on my part). > > > > Of course. See http://www.pos

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Wietse Venema wrote: >> Whilst on the subject of connection caching, I assume postfix will >> (have >> to) do a RSET between each reuse of a connection? (just a sanity >> check on my part). > > Of course. See http://www.postfix.org/CONNECTION_CACHE_README.html > > Wietse One more question then

Re: Question about log messages and connection caching

2008-08-30 Thread Wietse Venema
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 b

Re: Question about log messages and connection caching

2008-08-30 Thread 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 pro

Re: Question about log messages and connection caching

2008-08-30 Thread Wietse Venema
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.

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Ralf Hildebrandt wrote: > Odd, it works here: > > # fgrep "postfix/smtp[12851]" /var/log/mail.log| awk '{print $9}' > delay=0.74, > conn_use=2, > conn_use=3, > delay=0.18, > conn_use=4, > conn_use=5, I've got more: fgrep "postfix1/smtp[29938]" /var/log/mail | awk '{print $1" "$2" "$3" "$9}' Au

Re: Question about log messages and connection caching

2008-08-30 Thread Ralf Hildebrandt
* Per Jessen <[EMAIL PROTECTED]>: > Aug 30 10:49:24 postfix1/smtp[18518]: > Aug 30 10:49:52 postfix1/smtp[18518]: > Aug 30 10:49:53 postfix1/smtp[18518]: conn_use=2, > Aug 30 10:49:54 postfix1/smtp[18518]: conn_use=4, > Aug 30 10:49:55 postfix1/smtp[18518]: conn_use=6, > Aug 30 10:49:56 postfix1

Re: Question about log messages and connection caching

2008-08-30 Thread Per Jessen
Ralf Hildebrandt wrote: > * Per Jessen <[EMAIL PROTECTED]>: >> I'm using postfix 2.5.4. >> >> When I read the following in the log: >> >> postfix1/smtp[18518]: 4AD0517085: to=<[EMAIL PROTECTED]>, >> relay=myserver[myipaddr]:25, conn_use=4, delay=7.8, >> delays=7.6/0/0.03/0.08, dsn=2.0.0, status=

Re: Question about log messages and connection caching

2008-08-30 Thread Ralf Hildebrandt
* Per Jessen <[EMAIL PROTECTED]>: > I'm using postfix 2.5.4. > > When I read the following in the log: > > postfix1/smtp[18518]: 4AD0517085: to=<[EMAIL PROTECTED]>, > relay=myserver[myipaddr]:25, conn_use=4, delay=7.8, > delays=7.6/0/0.03/0.08, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as > F3