Re: When will james 3 beta 5 be released?

2016-10-03 Thread Benoit Tellier
Hi Alex,

We decided to release James 3.0 beta 5, as we are moving closer to James
3.0.

Nowadays, we still have to :

 - Improve the website
 - Write some more tests (on mailets, and using Gatling)
 - Refactor messages to give opportunity to identify from a unique ID
across mailboxes (it is some serious refactoring, hence we prefer to
work on it before 3.0)
 - Write a guice-jpa project

There may be some other topics lurking around but the overall mindset we
have is about testing and bug fixing. Hence our will to tag a 3.0-beta5

You can access it here :
https://github.com/apache/james-project/releases/tag/james-project-3.0-beta5

For related tasks I created :
https://issues.apache.org/jira/browse/JAMES-1830

Best regards,

Benoit

Le 03/10/2016 à 06:16, Alex Sviridov a écrit :
> Hi all,
> 
> Could anyone say when beta 5 will be released?
> 
> Best regards, Alex
> 

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



Re: Problems building James/Cassandra backend

2016-10-03 Thread Matthieu Baechler

Le 03/10/2016 à 03:09, Marc Chamberlin a écrit :

[...]

Hi Matthiew and the rest of the James server-users list -

Sorry for my delay in replying, I got sidelined by TLS/SSL issues and 
had to focus on that for awhile. Now back to Apache-James - Yes your 
PR did get me further and I now have both cassandra and elasticsearch 
running under Docker. I am attempting to wade through the 
configuration setup now and have a couple of questions that I need 
help with. First let me say that I am editing the .properties and .xml 
files under dockerfiles/run/guice/destination/conf which is my best 
guess as to what I need to be doing?



Good guess

My first question relates to the cassandra.properties file. According 
to the instructions at 
https://james.apache.org/server/3/config-cassandra.html



*cassandra.ip*
Is the IP (or host) of the Cassandra used. (cluster is not yet
supported)

Am I suppose to assign the internal private or an external public IP 
address for the host that Cassandra is running on? If external, does 
this host have to be in a DMZ?   I don't know how this is going to be 
used hence the reason I am asking...  The version of the 
cassandra.properties file that I got when I cloned the GIT repository 
had it pre-configured as  cassandra.ip = cassandra which I am sure 
must be wrong but then again I have little experience with Docker so I 
could be wrong...
So the documentation uses --link docker option, it creates to right 
alias into james container so that cassandra resolves to cassandra IP.
The cool thing about that is : cassandra port is not routed outside 
docker private network so you don't have to care too much about 
cassandra security.




My second question concerns setting up the SMTP server to use 
Authentication. Again according to the instructions at 
https://james.apache.org/server/3/config-smtp-lmtp.html it says -


Configuring Apache James Server for Authentication SMTP is a 
multi-step process. It requires several adjustments of the 
smtpserver.xml. To enable SMTP AUTH, do the following:


 1. As mentioned above, SMTP AUTH requires that Apache James Server be
able to distinguish between mail intended for local delivery and
mail intended for remote delivery. Apache James Server makes this
determination by matching the domain to which the mail was sent
against the  element of the Apache James Server
configuration block. Any local domains should be explicitly listed
as  elements in this section.

My trouble is I cannot figure out where the  elements are 
to be configured. I grepped through all the config files (basically 
everything downloaded from the GIT repo) and cannot find any file 
containing a section for defining servernames. (I did find a number of 
references to it however...) So where is this servernames section hiding?
Depending on your domain backend, you can define statically the domains 
into domainlist.xml (I guess servernames got replaced by domainnames) or 
dynamically by calling administration API.


With cassandra, we rather use dynamic config, so take a look at "how to 
call james-cli" in the documentation, there's an API like "adddomain" in it.


Thanks as always for helping guide me out of the woods... I am sure I 
will have more questions but don't want to proceed any further until I 
get the configuration done correctly.  Marc...

You're welcome.

--
Matthieu Baechler



-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



Re: James logo – the Vote is Open

2016-10-03 Thread Laura Royet

Hi everyone,

I remind you that you only have a few hours to vote for James new logo.
Deadline: today at 18:00 UTC.

Thanks in advance.

Regards,

Laura


Le 26/09/2016 à 16:04, Laura Royet a écrit :

Hi everyone,

This emails opens the *single vote ballot* for *James log**o*.
Below are the detailed explanation.

**Who ca**n vote :* all the recipients of this email.
Deadline :Monday, 3 October 2016 at 18:00 UTC*.

*How to vo**te :
**You have two options : **choosing**one of the **proposals between 
the 10 submitted *on : http://james.apache.org/#tabs-4 or *give a 
blank vote*.


*So please complete the appropriate field below **:*
* VOTE FOR LOGO NUMBER:
* AGAINST PROPOSED LOGOS, WAIT MORE TIME FOR NEW CHOICES :



The proposal collecting the most votes will become James new logo!

Thank you in advance for participating.

Regards,

Laura





-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



Re: James logo – the Vote is Open

2016-10-03 Thread Maxence BUNEL
Hi !
VOTE FOR LOGO NUMBER: 10


Le lun. 3 oct. 2016 à 10:05, Laura Royet  a écrit :

Hi everyone,

I remind you that you only have a few hours to vote for James new logo.
Deadline: today at 18:00 UTC.

Thanks in advance.

Regards,

Laura


Le 26/09/2016 à 16:04, Laura Royet a écrit :
> Hi everyone,
>
> This emails opens the *single vote ballot* for *James log**o*.
> Below are the detailed explanation.
>
> **Who ca**n vote :* all the recipients of this email.
> Deadline :Monday, 3 October 2016 at 18:00 UTC*.
>
> *How to vo**te :
> **You have two options : **choosing**one of the **proposals between
> the 10 submitted *on : http://james.apache.org/#tabs-4 or *give a
> blank vote*.
>
> *So please complete the appropriate field below **:*
> * VOTE FOR LOGO NUMBER:
> * AGAINST PROPOSED LOGOS, WAIT MORE TIME FOR NEW CHOICES :
>
>
>
> The proposal collecting the most votes will become James new logo!
>
> Thank you in advance for participating.
>
> Regards,
>
> Laura
>
>


-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org


Re: James logo – the Vote is Open

2016-10-03 Thread Marco Caimi
I vote for number 10
--
Ing. Marco Caimi
Software Engineer
m.ca...@digitelematica.com
--


Rispettiamo l’ambiente.
Non stampare questa e-mail se non è strettamente necessario.

> Il giorno 03 ott 2016, alle ore 10:04, Laura Royet  ha 
> scritto:
> 
> Hi everyone,
> 
> I remind you that you only have a few hours to vote for James new logo.
> Deadline: today at 18:00 UTC.
> 
> Thanks in advance.
> 
> Regards,
> 
> Laura
> 
> 
> Le 26/09/2016 à 16:04, Laura Royet a écrit :
>> Hi everyone,
>> 
>> This emails opens the *single vote ballot* for *James log**o*.
>> Below are the detailed explanation.
>> 
>> **Who ca**n vote :* all the recipients of this email.
>> Deadline :Monday, 3 October 2016 at 18:00 UTC*.
>> 
>> *How to vo**te :
>> **You have two options : **choosing**one of the **proposals between the 10 
>> submitted *on : http://james.apache.org/#tabs-4 or *give a blank vote*.
>> 
>> *So please complete the appropriate field below **:*
>> * VOTE FOR LOGO NUMBER:
>> * AGAINST PROPOSED LOGOS, WAIT MORE TIME FOR NEW CHOICES :
>> 
>> 
>> 
>> The proposal collecting the most votes will become James new logo!
>> 
>> Thank you in advance for participating.
>> 
>> Regards,
>> 
>> Laura
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: James logo – the Vote is Open

2016-10-03 Thread Marco Caimi

--
Ing. Marco Caimi
Software Engineer
m.ca...@digitelematica.com
--


Rispettiamo l’ambiente.
Non stampare questa e-mail se non è strettamente necessario.

> Il giorno 03 ott 2016, alle ore 10:04, Laura Royet  ha 
> scritto:
> 
> Hi everyone,
> 
> I remind you that you only have a few hours to vote for James new logo.
> Deadline: today at 18:00 UTC.
> 
> Thanks in advance.
> 
> Regards,
> 
> Laura
> 
> 
> Le 26/09/2016 à 16:04, Laura Royet a écrit :
>> Hi everyone,
>> 
>> This emails opens the *single vote ballot* for *James log**o*.
>> Below are the detailed explanation.
>> 
>> **Who ca**n vote :* all the recipients of this email.
>> Deadline :Monday, 3 October 2016 at 18:00 UTC*.
>> 
>> *How to vo**te :
>> **You have two options : **choosing**one of the **proposals between the 10 
>> submitted *on : http://james.apache.org/#tabs-4 or *give a blank vote*.
>> 
>> *So please complete the appropriate field below **:*
>> * VOTE FOR LOGO NUMBER: 10
>> * AGAINST PROPOSED LOGOS, WAIT MORE TIME FOR NEW CHOICES :
>> 
>> 
>> 
>> The proposal collecting the most votes will become James new logo!
>> 
>> Thank you in advance for participating.
>> 
>> Regards,
>> 
>> Laura
>> 
>> 
> 
> 
> -
> To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
> For additional commands, e-mail: server-user-h...@james.apache.org
> 



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re[2]: When will james 3 beta 5 be released?

2016-10-03 Thread Alex Sviridov
Hi Benoit

Thank you for your answer. I know where to download sources. But about two 
weeks ago
I was said ( https://issues.apache.org/jira/browse/JAMES-1824 ) that beta 5 
will be released
in two weeks. Two weeks have passed that's why I am asking.

Could you say exact date? I need to understand or to build again snapshot or 
wait for
release. Because I don't want to waste again time for administration issues.

Best regards, Alex


>Понедельник,  3 октября 2016, 10:56 +03:00 от Benoit Tellier :
>
>Hi Alex,
>
>We decided to release James 3.0 beta 5, as we are moving closer to James
>3.0.
>
>Nowadays, we still have to :
>
> - Improve the website
> - Write some more tests (on mailets, and using Gatling)
> - Refactor messages to give opportunity to identify from a unique ID
>across mailboxes (it is some serious refactoring, hence we prefer to
>work on it before 3.0)
> - Write a guice-jpa project
>
>There may be some other topics lurking around but the overall mindset we
>have is about testing and bug fixing. Hence our will to tag a 3.0-beta5
>
>You can access it here :
>https://github.com/apache/james-project/releases/tag/james-project-3.0-beta5
>
>For related tasks I created :
>https://issues.apache.org/jira/browse/JAMES-1830
>
>Best regards,
>
>Benoit
>
>Le 03/10/2016 à 06:16, Alex Sviridov a écrit :
>> Hi all,
>> 
>> Could anyone say when beta 5 will be released?
>> 
>> Best regards, Alex
>> 
>
>-
>To unsubscribe, e-mail:  server-user-unsubscr...@james.apache.org
>For additional commands, e-mail:  server-user-h...@james.apache.org
>


-- 
Alex Sviridov


Re: When will james 3 beta 5 be released?

2016-10-03 Thread Benoit Tellier
Hi ALex,

I am currently updating website, and maven poms. After that I will come
back, and post on ML with detailed information.

I will of course upload my build results on Apache dist. However this
process takes time. It might be over at the end of the week.

Regards,

Benoit

Le 03/10/2016 à 13:10, Alex Sviridov a écrit :
> Hi Benoit
> 
> Thank you for your answer. I know where to download sources. But about two 
> weeks ago
> I was said ( https://issues.apache.org/jira/browse/JAMES-1824 ) that beta 5 
> will be released
> in two weeks. Two weeks have passed that's why I am asking.
> 
> Could you say exact date? I need to understand or to build again snapshot or 
> wait for
> release. Because I don't want to waste again time for administration issues.
> 
> Best regards, Alex
> 
> 
>> Понедельник,  3 октября 2016, 10:56 +03:00 от Benoit Tellier 
>> :
>>
>> Hi Alex,
>>
>> We decided to release James 3.0 beta 5, as we are moving closer to James
>> 3.0.
>>
>> Nowadays, we still have to :
>>
>>  - Improve the website
>>  - Write some more tests (on mailets, and using Gatling)
>>  - Refactor messages to give opportunity to identify from a unique ID
>> across mailboxes (it is some serious refactoring, hence we prefer to
>> work on it before 3.0)
>>  - Write a guice-jpa project
>>
>> There may be some other topics lurking around but the overall mindset we
>> have is about testing and bug fixing. Hence our will to tag a 3.0-beta5
>>
>> You can access it here :
>> https://github.com/apache/james-project/releases/tag/james-project-3.0-beta5
>>
>> For related tasks I created :
>> https://issues.apache.org/jira/browse/JAMES-1830
>>
>> Best regards,
>>
>> Benoit
>>
>> Le 03/10/2016 à 06:16, Alex Sviridov a écrit :
>>> Hi all,
>>>
>>> Could anyone say when beta 5 will be released?
>>>
>>> Best regards, Alex
>>>
>>
>> -
>> To unsubscribe, e-mail:  server-user-unsubscr...@james.apache.org
>> For additional commands, e-mail:  server-user-h...@james.apache.org
>>
> 
> 

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



Re: James logo – the Vote is Open

2016-10-03 Thread Giancarlo Eckel
* VOTE FOR LOGO NUMBER: 10

Em seg, 26 de set de 2016 às 11:04, Laura Royet 
escreveu:

> Hi everyone,
>
> This emails opens the *single vote ballot* for *James log**o*.
> Below are the detailed explanation.
>
> **Who ca**n vote :* all the recipients of this email.
> Deadline :Monday, 3 October 2016 at 18:00 UTC*.
>
> *How to vo**te :
> **You have two options : **choosing**one of the **proposals between the
> 10 submitted *on : http://james.apache.org/#tabs-4 or *give a blank vote*.
>
> *So please complete the appropriate field below **:*
> * VOTE FOR LOGO NUMBER: 10
> * AGAINST PROPOSED LOGOS, WAIT MORE TIME FOR NEW CHOICES :
>
>
>
> The proposal collecting the most votes will become James new logo!
>
> Thank you in advance for participating.
>
> Regards,
>
> Laura
>
>


Re: Problems building James/Cassandra backend

2016-10-03 Thread Marc Chamberlin

On 10/3/2016 1:02 AM, Matthieu Baechler wrote:


My first question relates to the cassandra.properties file. According 
to the instructions at 
https://james.apache.org/server/3/config-cassandra.html



*cassandra.ip*
Is the IP (or host) of the Cassandra used. (cluster is not yet
supported)

Am I suppose to assign the internal private or an external public IP 
address for the host that Cassandra is running on? If external, does 
this host have to be in a DMZ?   I don't know how this is going to be 
used hence the reason I am asking...  The version of the 
cassandra.properties file that I got when I cloned the GIT repository 
had it pre-configured as  cassandra.ip = cassandra which I am sure 
must be wrong but then again I have little experience with Docker so 
I could be wrong...
So the documentation uses --link docker option, it creates to right 
alias into james container so that cassandra resolves to cassandra IP.
The cool thing about that is : cassandra port is not routed outside 
docker private network so you don't have to care too much about 
cassandra security.


Thanks once again for your help Matthieu. I made an attempt to go ahead 
and start the James server using my best guesses on how the 
configuration files should be set up. Unfortunately I hit another snag, 
see below. I can send you the contents of my configuration files if you 
need to see them. For the cassandra.properties I set the cassandra.ip 
back to cassandra.ip = cassandra as it was originally configured.  (When 
I got the stack exception/walkback that you see below I also tried, just 
for grins, a few other guesses but nothing I tried worked so decided to 
leave it alone and get help.)




My second question concerns setting up the SMTP server to use 
Authentication. Again according to the instructions at 
https://james.apache.org/server/3/config-smtp-lmtp.html it says -




... (stuff deleted from my previous emails)

Depending on your domain backend, you can define statically the 
domains into domainlist.xml (I guess servernames got replaced by 
domainnames) or dynamically by calling administration API.


With cassandra, we rather use dynamic config, so take a look at "how 
to call james-cli" in the documentation, there's an API like 
"adddomain" in it.


OK. I will punt on this for now and try to configure the domain names 
dynamically when I get the server up and running


I had to modify the command to start the James server slightly to point 
the jar file to what I believe is the correct location. Please verify 
that my command I issued is correct. That resulted in what appears to be 
6 repetitions of an error that seems to center around "cassandra.port" 
Because these walkbacks are so long I will only show the first one. Got 
any ideas on what I have done wrong? Marc.


bigbang:/james/docker/james-project # java 
-Dworking.directory=dockerfiles/run/guice/destination/conf -jar 
server/container/guice/cassandra-guice/target/james-server-cassandra-guice-3.0.0-beta5-SNAPSHOT.jar
Exception in thread "main" com.google.inject.ProvisionException: 
Unable to provision, see the following errors:


1) Error in custom provider, java.util.concurrent.ExecutionException: 
java.util.NoSuchElementException: 'cassandra.port' doesn't map to an 
existing object
  at 
org.apache.james.modules.mailbox.CassandraSessionModule.provideCluster(CassandraSessionModule.java:76) 
(via modules: com.google.inject.util.Modules$CombinedModule -> 
com.google.inject.util.Modules$CombinedModule -> 
org.apache.james.modules.mailbox.CassandraSessionModule)
  at 
org.apache.james.modules.mailbox.CassandraSessionModule.provideCluster(CassandraSessionModule.java:76) 
(via modules: com.google.inject.util.Modules$CombinedModule -> 
com.google.inject.util.Modules$CombinedModule -> 
org.apache.james.modules.mailbox.CassandraSessionModule)

  while locating com.datastax.driver.core.Cluster
for parameter 1 at 
org.apache.james.modules.mailbox.CassandraSessionModule.provideSession(CassandraSessionModule.java:68)
  at 
org.apache.james.modules.mailbox.CassandraSessionModule.provideSession(CassandraSessionModule.java:68) 
(via modules: com.google.inject.util.Modules$CombinedModule -> 
com.google.inject.util.Modules$CombinedModule -> 
org.apache.james.modules.mailbox.CassandraSessionModule)
  at 
org.apache.james.modules.mailbox.CassandraSessionModule.provideSession(CassandraSessionModule.java:68) 
(via modules: com.google.inject.util.Modules$CombinedModule -> 
com.google.inject.util.Modules$CombinedModule -> 
org.apache.james.modules.mailbox.CassandraSessionModule)

  while locating com.datastax.driver.core.Session
for parameter 0 at 
org.apache.james.mailbox.cassandra.mail.CassandraUidProvider.(CassandraUidProvider.java:65)
  at 
org.apache.james.modules.mailbox.CassandraMailboxModule.configure(CassandraMailboxModule.java:63) 
(via modules: com.google.inject.util.Modules$CombinedModule -> 
com.google.inject.util.Modules$CombinedModule -> 
org.apache.

Re: Problems building James/Cassandra backend

2016-10-03 Thread Matthieu Baechler

Le 03/10/2016 à 20:57, Marc Chamberlin a écrit :

[...]


I had to modify the command to start the James server slightly to 
point the jar file to what I believe is the correct location. Please 
verify that my command I issued is correct. That resulted in what 
appears to be 6 repetitions of an error that seems to center around 
"cassandra.port" Because these walkbacks are so long I will only show 
the first one. Got any ideas on what I have done wrong? Marc.


bigbang:/james/docker/james-project # java 
-Dworking.directory=dockerfiles/run/guice/destination/conf -jar 
server/container/guice/cassandra-guice/target/james-server-cassandra-guice-3.0.0-beta5-SNAPSHOT.jar 

The error is really not helpful but it looks like you you should define 
working.directory to dockerfiles/run/guice/destination/ or even 
$PWD/dockerfiles/run/guice/destination/ (removing trailing conf name and 
maybe providing a absolute path).


Out of curiosity, why don't you run the docker image of James ?

Cheers,

--
Matthieu Baechler

-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



Re: Problems building James/Cassandra backend

2016-10-03 Thread Marc Chamberlin

On 10/3/2016 12:13 PM, Matthieu Baechler wrote:

Le 03/10/2016 à 20:57, Marc Chamberlin a écrit :

[...]


I had to modify the command to start the James server slightly to 
point the jar file to what I believe is the correct location. Please 
verify that my command I issued is correct. That resulted in what 
appears to be 6 repetitions of an error that seems to center around 
"cassandra.port" Because these walkbacks are so long I will only show 
the first one. Got any ideas on what I have done wrong? Marc.


bigbang:/james/docker/james-project # java 
-Dworking.directory=dockerfiles/run/guice/destination/conf -jar 
server/container/guice/cassandra-guice/target/james-server-cassandra-guice-3.0.0-beta5-SNAPSHOT.jar 

The error is really not helpful but it looks like you you should 
define working.directory to dockerfiles/run/guice/destination/ or even 
$PWD/dockerfiles/run/guice/destination/ (removing trailing conf name 
and maybe providing a absolute path).


Maybe I am making progress, I removed the trailing conf and modified the 
command to start the server as shown -


java -Dworking.directory=$PWD/dockerfiles/run/guice/destination -jar 
server/container/guice/cassandra-guice/target/james-server-cassandra-guice-3.0.0-beta5-SNAPSHOT.jar


That seems to make it happy, but then I tried to add my domain using the 
following command and got a connection refused error -


java -jar 
server/container/cli/target/james-server-cli-3.0.0-beta5-SNAPSHOT.jar 
-h 127.0.0.1 -p   adddomain mydomain.com
Error connecting to remote JMX agent : Failed to retrieve RMIServer 
stub: javax.naming.ServiceUnavailableException [Root exception is 
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; 
nested exception is:

java.net.ConnectException: Connection refused]




Out of curiosity, why don't you run the docker image of James ?


Uh Because I don't know how???  I am basically following the 
instructions on the website at 
https://james.apache.org/server/3/quick-start-cassandra.html

I have gotten to Step 5.  Did I take a wrong turn somewhere?

   Marc


--
"The Truth is out there" - Spooky


-
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org