Move spam to spam folder

2021-07-13 Thread Pang, Overcasts.net
Hello all,   I have recently set up a James mail server. I have set up SPF, DKIM, spamassassin successfully. I can see the emails have the header. However, I couldn't find how to move spam mail or SPF softfail mail to a specific folder.   I have searched in the internet and found there was

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

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

Apache James MTA 3.6.0 spawning additional connections.

2021-07-13 Thread Amlan Sengupta
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