Hello, We are seeing something very strange with Apache James MTA.
Keeping the flow below in context, we have a client which only uses 1 connection ad reuses it send emails to Apache James. We have confirmed this through connection tracking. We are seeing Apache James spawning up to 60 connections. Flow : Docker Client ---- ( 1 connection : 60 emails ) ----> Apache James ( MTA ) on Docker ---( spawning 60 new connections ) -> SMTP Gateway. Configuration: I have sent the following to 1 and retested. It still behaves the same way. MTA_SPOOL_THREADS=1 MTA_DELIVERY_THREADS=1 <!-- Number of spool threads --> <spooler> <threads>${env:MTA_SPOOL_THREADS}</threads> <errorRepository>file:///deployments/logs/mail/error/</errorRepository> </spooler> <!-- The number of threads that should be trying to deliver outgoing messages --> <deliveryThreads>${env:MTA_DELIVERY_THREADS}</deliveryThreads> Objective here is limit the no of connections made to SMTPGateway. Any guidance ? Amlan --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to https://www.db.com/disclosures for additional EU corporate and regulatory disclosures and to http://www.db.com/unitedkingdom/content/privacy.htm for information about privacy.