You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by RanBing <bi...@hotmail.com> on 2010/11/01 06:35:10 UTC

any james3 quick tutorial?

Hi,

I have managed to compile the latest code from the trunk and I'd like to use postgresql as the data store for everything. Any quick tutorial on how to set up a new deployment?  I'm also running an old James server on another machine so I know the basics for 2.x version. 

Thanks

Bing

Re: any james3 quick tutorial?

Posted by Norman Maurer <no...@apache.org>.
Hi Bing,

are you more concerned about bulk incomming or outgoing ?

Bye,
Norman


2010/11/1 RanBing <bi...@hotmail.com>:
> Hi Norman,
>
> Thanks for the information which is otherwise nowhere to get! The good news
> is that I'm not migrating from the old James. I'm testing 3.0 with a fresh
> new domain. There is no baggage to carry over.
>
> What I'm really focusing on is performance, since I need to use this server
> to do a lot of bulk emails. Will the default configuration be a good one to
> start or you have specific recommendations?
>
> Bing
>
>
> --------------------------------------------------
> From: "Norman Maurer" <no...@apache.org>
> Sent: Monday, November 01, 2010 3:30 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: any james3 quick tutorial?
>
>> Hi Bing,
>>
>> James 3.0-M1 use a different schema for inboxes, so you can't just
>> move from 2.3 to 3.0-M1. We need to write the migration tool for this.
>> This was needed for support IMAP and POP3 in a performant fashion.
>>
>> See:
>> https://issues.apache.org/jira/browse/JAMES-1052 (we love contributions ;)
>> )
>>
>> The type of mailbox storage is currently configured in
>> spring-beans.xml ( This will change before 3.0 final). By default it
>> use JPA based storage and respect the settings in database.properties.
>>
>> For spool/queue we changed from self-written storage to JMS. This
>> allows us to relay on a storage which brings us all the needed
>> features for free (like perfomant, fail-save etc). We ship activemq
>> for this, which use kahadb as default storage. However it also work
>> with a database, you just need to change the config. The activemq
>> broker is configured in spring-beans.xml.
>>
>> See:
>> http://activemq.apache.org/jdbc-support.html
>>
>> Hope this helps,
>> Norman
>>
>>
>>
>>
>> 2010/11/1 RanBing <bi...@hotmail.com>:
>>>
>>> Hi,
>>>
>>> I cannot find a place to set the spool to use database or inboxes to use
>>> the
>>> database. What are the settings to use?
>>>
>>> Thanks
>>>
>>> Bing
>>>
>>>
>>> --------------------------------------------------
>>> From: "Norman Maurer" <no...@apache.org>
>>> Sent: Monday, November 01, 2010 1:56 PM
>>> To: "James Users List" <se...@james.apache.org>
>>> Subject: Re: any james3 quick tutorial?
>>>
>>>> Hi,
>>>>
>>>> for this it should be enough to:
>>>> * download the postgres jdbc driver jar
>>>> * put the jar into /path/to/james/conf/lib/
>>>> * Adjust /path/to/james/conf/database.properties
>>>>
>>>> Bye,
>>>> Norman
>>>>
>>>>
>>>> 2010/11/1 RanBing <bi...@hotmail.com>:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I have managed to compile the latest code from the trunk and I'd like
>>>>> to
>>>>> use postgresql as the data store for everything. Any quick tutorial on
>>>>> how
>>>>> to set up a new deployment?  I'm also running an old James server on
>>>>> another
>>>>> machine so I know the basics for 2.x version.
>>>>>
>>>>> Thanks
>>>>>
>>>>> Bing
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

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


Re: any james3 quick tutorial?

Posted by RanBing <bi...@hotmail.com>.
Hi Norman,

Thanks for the information which is otherwise nowhere to get! The good news 
is that I'm not migrating from the old James. I'm testing 3.0 with a fresh 
new domain. There is no baggage to carry over.

What I'm really focusing on is performance, since I need to use this server 
to do a lot of bulk emails. Will the default configuration be a good one to 
start or you have specific recommendations?

Bing


--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Monday, November 01, 2010 3:30 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: any james3 quick tutorial?

> Hi Bing,
>
> James 3.0-M1 use a different schema for inboxes, so you can't just
> move from 2.3 to 3.0-M1. We need to write the migration tool for this.
> This was needed for support IMAP and POP3 in a performant fashion.
>
> See:
> https://issues.apache.org/jira/browse/JAMES-1052 (we love contributions 
> ;) )
>
> The type of mailbox storage is currently configured in
> spring-beans.xml ( This will change before 3.0 final). By default it
> use JPA based storage and respect the settings in database.properties.
>
> For spool/queue we changed from self-written storage to JMS. This
> allows us to relay on a storage which brings us all the needed
> features for free (like perfomant, fail-save etc). We ship activemq
> for this, which use kahadb as default storage. However it also work
> with a database, you just need to change the config. The activemq
> broker is configured in spring-beans.xml.
>
> See:
> http://activemq.apache.org/jdbc-support.html
>
> Hope this helps,
> Norman
>
>
>
>
> 2010/11/1 RanBing <bi...@hotmail.com>:
>> Hi,
>>
>> I cannot find a place to set the spool to use database or inboxes to use 
>> the
>> database. What are the settings to use?
>>
>> Thanks
>>
>> Bing
>>
>>
>> --------------------------------------------------
>> From: "Norman Maurer" <no...@apache.org>
>> Sent: Monday, November 01, 2010 1:56 PM
>> To: "James Users List" <se...@james.apache.org>
>> Subject: Re: any james3 quick tutorial?
>>
>>> Hi,
>>>
>>> for this it should be enough to:
>>> * download the postgres jdbc driver jar
>>> * put the jar into /path/to/james/conf/lib/
>>> * Adjust /path/to/james/conf/database.properties
>>>
>>> Bye,
>>> Norman
>>>
>>>
>>> 2010/11/1 RanBing <bi...@hotmail.com>:
>>>>
>>>> Hi,
>>>>
>>>> I have managed to compile the latest code from the trunk and I'd like 
>>>> to
>>>> use postgresql as the data store for everything. Any quick tutorial on 
>>>> how
>>>> to set up a new deployment?  I'm also running an old James server on 
>>>> another
>>>> machine so I know the basics for 2.x version.
>>>>
>>>> Thanks
>>>>
>>>> Bing
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-user-help@james.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

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


Re: any james3 quick tutorial?

Posted by Norman Maurer <no...@apache.org>.
Hi Bing,

James 3.0-M1 use a different schema for inboxes, so you can't just
move from 2.3 to 3.0-M1. We need to write the migration tool for this.
This was needed for support IMAP and POP3 in a performant fashion.

See:
https://issues.apache.org/jira/browse/JAMES-1052 (we love contributions ;) )

The type of mailbox storage is currently configured in
spring-beans.xml ( This will change before 3.0 final). By default it
use JPA based storage and respect the settings in database.properties.

For spool/queue we changed from self-written storage to JMS. This
allows us to relay on a storage which brings us all the needed
features for free (like perfomant, fail-save etc). We ship activemq
for this, which use kahadb as default storage. However it also work
with a database, you just need to change the config. The activemq
broker is configured in spring-beans.xml.

See:
http://activemq.apache.org/jdbc-support.html

Hope this helps,
Norman




2010/11/1 RanBing <bi...@hotmail.com>:
> Hi,
>
> I cannot find a place to set the spool to use database or inboxes to use the
> database. What are the settings to use?
>
> Thanks
>
> Bing
>
>
> --------------------------------------------------
> From: "Norman Maurer" <no...@apache.org>
> Sent: Monday, November 01, 2010 1:56 PM
> To: "James Users List" <se...@james.apache.org>
> Subject: Re: any james3 quick tutorial?
>
>> Hi,
>>
>> for this it should be enough to:
>> * download the postgres jdbc driver jar
>> * put the jar into /path/to/james/conf/lib/
>> * Adjust /path/to/james/conf/database.properties
>>
>> Bye,
>> Norman
>>
>>
>> 2010/11/1 RanBing <bi...@hotmail.com>:
>>>
>>> Hi,
>>>
>>> I have managed to compile the latest code from the trunk and I'd like to
>>> use postgresql as the data store for everything. Any quick tutorial on how
>>> to set up a new deployment?  I'm also running an old James server on another
>>> machine so I know the basics for 2.x version.
>>>
>>> Thanks
>>>
>>> Bing
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-user-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>

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


Re: any james3 quick tutorial?

Posted by RanBing <bi...@hotmail.com>.
Hi,

I cannot find a place to set the spool to use database or inboxes to use the 
database. What are the settings to use?

Thanks

Bing


--------------------------------------------------
From: "Norman Maurer" <no...@apache.org>
Sent: Monday, November 01, 2010 1:56 PM
To: "James Users List" <se...@james.apache.org>
Subject: Re: any james3 quick tutorial?

> Hi,
>
> for this it should be enough to:
> * download the postgres jdbc driver jar
> * put the jar into /path/to/james/conf/lib/
> * Adjust /path/to/james/conf/database.properties
>
> Bye,
> Norman
>
>
> 2010/11/1 RanBing <bi...@hotmail.com>:
>> Hi,
>>
>> I have managed to compile the latest code from the trunk and I'd like to 
>> use postgresql as the data store for everything. Any quick tutorial on 
>> how to set up a new deployment?  I'm also running an old James server on 
>> another machine so I know the basics for 2.x version.
>>
>> Thanks
>>
>> Bing
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
> 

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


Re: any james3 quick tutorial?

Posted by Norman Maurer <no...@apache.org>.
Hi,

for this it should be enough to:
* download the postgres jdbc driver jar
* put the jar into /path/to/james/conf/lib/
* Adjust /path/to/james/conf/database.properties

Bye,
Norman


2010/11/1 RanBing <bi...@hotmail.com>:
> Hi,
>
> I have managed to compile the latest code from the trunk and I'd like to use postgresql as the data store for everything. Any quick tutorial on how to set up a new deployment?  I'm also running an old James server on another machine so I know the basics for 2.x version.
>
> Thanks
>
> Bing
>

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