Re: strange delay in pre-queue phase
- On 01/07/11 19:24, Wietse Venema wrote:
> The fix is for the client to append<CR><LF>.<CR>LF> to the messageThanks. That was it for sure.
> content before writing it to the network.
> The workaround is for the client to turn off Nagle delays.
Just for the benefit of others:
- it was hard for me to change the php client library, although I have
posted a bug for Swift Mailer
- it was also hard to change the client to turn off Nagle delays,
because Swift Mailer is using the wrong php library to allow that.
So I changed the system wide Nagle behaviour on the server, which is a
# (default 100ms)
Which reduced 90% of the delay.
Not ideal, but fine in this case, since most of the traffic to that
hosts is LAN or very high speed WAN.