Re: Apache James MTA 3.6.0 spawning additional connections.

2021-07-30 Thread btell...@apache.org
Hello Amlan, On 30/07/2021 16:46, Amlan Sengupta wrote: > Hello, > > Using : Apache James Server 3.6.0 > OS : RHEL 7 > JDK : OpenJDK 11 > > I understand from the community that > > "With gateway mode turned on, we no longer need per-domain delivery > and can group deliveries (this would reduce net

Re: Apache James MTA 3.6.0 spawning additional connections.

2021-07-30 Thread Amlan Sengupta
Hello, Using : Apache James Server 3.6.0 OS : RHEL 7 JDK : OpenJDK 11 I understand from the community that "With gateway mode turned on, we no longer need per-domain delivery and can group deliveries (this would reduce network exchanges / connection overhead). " The question is, is there a way

Re: Apache James MTA 3.6.0 spawning additional connections.

2021-07-13 Thread Garry Hurley
Agreed. It also needs to be pointed out that if you use those multiple gateway lines, and all four gateway hosts are the same server, you are connecting four times to he same server. My suggestion, if possible, is to hide your gateway behind a VIP server and do a round-robin request from the VIP

Re: Apache James MTA 3.6.0 spawning additional connections.

2021-07-13 Thread btell...@apache.org
On 13/07/2021 17:38, Amlan Sengupta wrote: > Hello, > > This is how the mailet is looking like. I also by adding the following > optional elements and increasing timeout to 10 mins was able to get better > connection reuse on the gateway. I need to further optimise the reuse. - Amlan > >

Re: Apache James MTA 3.6.0 spawning additional connections.

2021-07-13 Thread Amlan Sengupta
Hello, This is how the mailet is looking like. I also by adding the following optional elements and increasing timeout to 10 mins was able to get better connection reuse on the gateway. I need to further optimise the reuse. - Amlan 60 60 Mailet:

Re: Apache James MTA 3.6.0 spawning additional connections.

2021-07-13 Thread btell...@apache.org
Hello Amlan, Could you please share your remote delivery configuration in mailetcontainer.xml? Have you been configuring it as a SMTP gateway? I noticed this too in a performance enhancement session with flame graphs. To be fairly honest the code paths handling direct resolution and gateway resol