James 3 Multiple Datasources?

2014-07-04 Thread Jerry Malcolm
I need to be able to access a different database from my default James mail db in a couple of matchers and mailets. In james 2, I was able to easily add a 2nd datasource into the datasources tag block in the config file, and simple access the other datasource by name in my matcher/mailets.

ToSenderFolder Mailet Failure (James 3)

2014-07-04 Thread Jerry Malcolm
I tried activating the ToSenderFolder mailet and could not get it to work. I added some debug code and looked through the source, and I see where the problem is. The mailet assumes that the username (user login name / repository name) is the sender's email address. (see code snippit at the