Date: Fri, 31 Aug 2018 03:21:36 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 231046] mail/ssmtp 2.64 doesnt send final ack - delays mail server with hanging LAST_ACT on FreeBSD11.2S Message-ID: <bug-231046-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231046 Bug ID: 231046 Summary: mail/ssmtp 2.64 doesnt send final ack - delays mail server with hanging LAST_ACT on FreeBSD11.2S Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au CC: aragon@phat.za.net CC: aragon@phat.za.net Flags: maintainer-feedback?(aragon@phat.za.net) Unsure if this is an implementation issue or something around traffic flow. situation: Multiple messages being sent with ssmtp. When the server starts rejecting messages due to connection rate setting, there are pending LAST_ACKs; which ssmtp should ack before terminating. Instead ssmtp just stops. Resulting in sockstat -s revealing root sendmail 31777 5 tcp4 127.0.5.91:2525 127.0.5.91:41596= =20=20=20=20=20 ESTABLISHED root sendmail 31777 11 tcp4 127.0.5.91:2525 127.0.5.91:41596= =20=20=20=20=20 ESTABLISHED root ssmtp 31603 3 tcp4 127.0.5.91:36347 127.0.5.91:2525= =20=20=20=20=20=20 ESTABLISHED root ssmtp 31381 3 tcp4 127.0.5.91:58319 127.0.5.91:2525= =20=20=20=20=20=20 ESTABLISHED root ssmtp 31257 3 tcp4 127.0.5.91:41596 127.0.5.91:2525= =20=20=20=20=20=20 ESTABLISHED root sendmail 39991 9 tcp4 127.0.5.91:2525 *:*=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 LISTEN ? ? ? ? tcp4 127.0.5.91:2525 127.0.5.91:31082= =20=20=20=20=20 LAST_ACK ? ? ? ? tcp4 127.0.5.91:2525 127.0.5.91:55470= =20=20=20=20=20 LAST_ACK ? ? ? ? tcp4 127.0.5.91:2525 127.0.5.91:28956= =20=20=20=20=20 LAST_ACK The problem is that sendmail wont respond to new connections until the LAST= _ACK timeouts.=20=20 Workaround - increase number of connections to that particular port 2525 wh= ich is only for administrative email. Aside: there are multiple jails transmit= ting to the sendmail (latest version) jail via lo0. It just appears to be coming over its "localhost" addr. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231046-7788>