5 seconds :)
Really, opening a new connection is normally faster than that, and some email endpoints might have a limited amount of SMTP sessions, so why hog them when someone else can use them..

A Polite 'neighbour' would not hold it open 1 second longer than is necessary...



On 17-07-31 01:01 PM, Brandon Long via mailop wrote:
What are you optimizing for?  Connection time/overhead?

It would seem kind of pointless to keep a connection open for 10 minutes to save 2s of connection time, for example.

Not that we're the best neighbors in this regard, but we don't reuse connections for the vast majority of endpoints, just the highest by volume, and we only keep connections open for potential reuse for 30s.

Brandon

On Mon, Jul 31, 2017 at 11:24 AM, Ryan Harris via mailop <mailop@mailop.org <mailto:mailop@mailop.org>> wrote:

    Hello,

    I was curious if anyone had documentation or knew appropriate times
    to keep an SMTP connection open and when to close that connection.
    Would connecting via telnet to an ISP and watching when that
    connection closes, be the source of truth on how long an SMTP
    connection should be lasting with that particular ISP? Or would it
    be best just to hit up postmasters at various ISPs?

    Doing some optimization to our mail server and this question came
    up. Wondering how best to find how long to keep an SMTP connection
    time open per recipient server. ISPs get angry if you just keep a
    connection open forever, but curious if there is an optimal time to
    close.

    Thanks for any help or tips.


    Ryan

    _______________________________________________
    mailop mailing list
    mailop@mailop.org <mailto:mailop@mailop.org>
    https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop
    <https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop>




_______________________________________________
mailop mailing list
mailop@mailop.org
https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop




--
"Catch the Magic of Linux..."
------------------------------------------------------------------------
Michael Peddemors, President/CEO LinuxMagic Inc.
Visit us at http://www.linuxmagic.com @linuxmagic
------------------------------------------------------------------------
A Wizard IT Company - For More Info http://www.wizard.ca
"LinuxMagic" a Registered TradeMark of Wizard Tower TechnoServices Ltd.
------------------------------------------------------------------------
604-682-0300 Beautiful British Columbia, Canada

This email and any electronic data contained are confidential and intended
solely for the use of the individual or entity to which they are addressed.
Please note that any views or opinions presented in this email are solely
those of the author and are not intended to represent those of the company.

_______________________________________________
mailop mailing list
mailop@mailop.org
https://chilli.nosignal.org/cgi-bin/mailman/listinfo/mailop

Reply via email to