Davy Leon: > Hi folks > > I have a Centos 5.3 Box running postfix 2.6.3 . > I use an smarthost in a per user authentication basis. I meant every local > user has a passwrod to use against the smarthost. > My question is, in this conditions is it possible to take advantage of > smtp_connection_cache so all the queued messages from the same user can be > delivered to the smarthost using the same smtp conection and avoid sasl > handshaking for every message who has the same "from" address? An important > note is the delivery is deferred. My server is not online all the time.
As documented in the CONNECTION_CACHE_README file: Connection cache limitations ============================ Postfix SMTP connection caching conflicts with certain applications: * The Postfix shared connection cache cannot be used with TLS, because saved TLS session information can be used only when a new connection is created (this limitation does not exist in connection caching implementations that reuse a connection only in the process that creates it). For this reason, the Postfix smtp(8) client always closes the connection after completing an attempt to deliver mail over TLS. * Postfix connection caching currently does not support multiple SASL accounts per mail server. Specifically, Postfix connection caching assumes that a SASL credential is valid for all hostnames or domain names that deliver via the same mail server IP address and TCP port, and assume that the SASL credential does not depend on the message originator. The Postfix documentation is a great resource of information. Wietse