Jaroslaw Rafa via Postfix-users: > Dnia 21.05.2024 o godz. 16:38:21 Wietse Venema via Postfix-users pisze: > > > delays=0.01/2639/25/0.41 > > > delays=0.01/2639/25/0.58 > > > delays=0.01/2641/25/0.58 > > > delays=0.01/2644/25/0.69 > > > delays=0.01/2643/25/0.58 > > > delays=0.01/2640/25/0.57 > [...] > > c=25s. It takes a whopping 25 econds for connection setup, including DNS, > > EHLO, and STARTTLS. And if that is not bad enough already, > > your connectuions also are not reysed. Reusing a connection would > > reduce the 25s dramatically. > > I wonder why it is *always* 25 seconds, while the other delays slightly > vary, which would be normally expected. Is it possible that something in > your sending pipeline is introducing an artificial delay when setting up the > connection, for example something tries (unsuccessfully) to connect to > somewhere and only *after* the attempt times out, Postfix continues with > connection setup? If timeout in question is 25 seconds, this would explain > why the value is so constant here...
DNS queries time out after 5s, so that could be a reason, oo (bad server(s) in /etc/resolv.conf). Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org