email icon indicating copy to clipboard operation
email copied to clipboard

Start sending after client was idle for a while: tcp write: broken pipe

Open phev8 opened this issue 5 years ago • 4 comments

Hi!

We observed an issue when starting to send a batch of emails using a pool, when the client was idle for a while. In this case, the first couple of emails (50-200) are failing with the error "broken pipe". After that, it starts to send the messages normally again.

write tcp <local server ip> -> <ip-of the mail-server>: write: broken pipe

The setup is using exchange mail servers (list of pools initialised as shown in the documentation).

Is there any configuration option/recommended use, we can prevent this happening, or tell the client it should renew the connection?

phev8 avatar Sep 11 '20 14:09 phev8

I'm also seeing this.

gregseb avatar Nov 06 '20 20:11 gregseb

It effects me too.

al-ship avatar Dec 10 '20 10:12 al-ship

Me too.

oblq avatar Aug 01 '22 20:08 oblq

For anyone else with this issue, I switched to this fork that has some better pooling and haven't hit this since: https://github.com/knadh/smtppool

Kryan90 avatar Oct 07 '22 14:10 Kryan90