RE: About database Clustering on james server

2019-08-05 Thread Jason Tjankilisan
Hey Matt, Sorry for the long response time, I was in a nick of deadline and didn’t notice the email. I also don’t know if james generate the ID or not, but lately I’ve been able to apply Percona Xtradb Cluster to my database. With some configuration, percona already automatically sync-up the

RE: About database Clustering on james server

2019-08-05 Thread Jason Tjankilisan
Hey Matt, Sorry for the long response time, I was in a nick of deadline and didn’t notice the email. I also don’t know if james generate the ID or not, but lately I’ve been able to apply Percona Xtradb Cluster to my database. With some configuration, percona already automatically sync-up the

Re: Seeking clarification of behaviour with authRequired set to false

2019-08-05 Thread cryptearth
Hey Matt, I can't tell if setting authRequired = false does what you want. As far from what the docs in smtpserver.xml and mailetcontainer.xml say: You would generally use one (authorizedAddresses in smtpserver.xml) OR the other (RemoteAddrNotInNetwork in mailetcontainer.xml) approach, but I

Re: Seeking clarification of behaviour with authRequired set to false

2019-08-05 Thread Matt Pryor
Hi Matt, thanks very much for the reply and the useful information. It's not possible to close port 25 as we do accept inbound mail for our domain, but only want to relay mail to the outside world if it's generated by our own servers inside the firewall (from the IPs specified in the

Re: James with AWS SES mail receiving

2019-08-05 Thread Jerry Malcolm
I'm looking at moving off of my dedicated server to AWS, which means moving JAMES.  Interesting concepts in this thread below from a year or so ago about using SES.  But all I want to do is get JAMES up and running in an AWS EC2 with an RDS with as little rip up and effort as possible.  

Re: Seeking clarification of behaviour with authRequired set to false

2019-08-05 Thread cryptearth
Hey Matt, I have to ask as it isn't clear: Do you use James also to receive mails from outside, so TCP/25 has to be open to the world, or is it possible to just close TCP/25 to the public and make it only accible inside your net/vpn? Also: If you experience attacks, that's daily work for the

Seeking clarification of behaviour with authRequired set to false

2019-08-05 Thread Matt Pryor
Hi there In our smtpserver.xml config we have relaying to outside domains restricted to two IP addresses with the authorizedAddresses tag. The authRequired tag is still commented out as per the default, which from reading the comments means that it's set to true (I think). Last week someone

Re: Error in wrapper logs after upgrading to James 3.3

2019-08-05 Thread Matt Pryor
Hi Garry, thanks for the reply. Sorry I didn't specify, the upgrade was from 3.0.1. I unzipped 3.3.0 into a new folder, deleted the old Windows service, and copied the config .xml files across from 3.0.1. All seemed to work okay, except for this error filling up the logs when attempting to send

Re: Error in wrapper logs after upgrading to James 3.3

2019-08-05 Thread Garry Hurley
Matt, what did you upgrade from? If you jumped from 2.3.2 to 3.3 and have custom mailets, you MAY have to recompile your custom mailets. I suggest using at least James 3.2.0 in your maven build file James versions, if not 3.3.0. That might mitigate some of the problems (of course, it will take

Re: Error in wrapper logs after upgrading to James 3.3

2019-08-05 Thread Matt Pryor
Here is the method going bang, with the problematic line highlighted in yellow - I guess mmis object must be null. public Response onLine(SMTPSession session, ByteBuffer lineByteBuffer, LineHandler next) { byte[] line = new byte[lineByteBuffer.remaining()];

Error in wrapper logs after upgrading to James 3.3

2019-08-05 Thread Matt Pryor
Hi there I'm seeing the below NullPointerException when attempting to send email to James. This stacktrace / error is repeated many times in the wrapper.log. It appears that the message was received okay however. I'm about to delve into the source to look for clues, but wondered if this rings