Hi Mohammad,

Yes,
- maibox is for users' inbox, sent items, trash... folders.
- mailstore is for spam, error,... mails, so nothing to do with users visible mails.

Both are configurable.

- Mailbox persistence is configured in spring-beans.xml (by default jpa=database, you set the database connection properties in database.properties - can also be maildir=file, jcr). We think to move this config out-of spring-beans.xml. - Available mailstore persistence are defined in mailstore.xml. Each has an URL prefix (file, db, dbfile,...) that can be used in mailetcontainer.xml to define where to store spam,... mails (exemple: file://var/mail/error/).

Both mailbox and mailstore use database connection defined via database.properties in case of database access.

http://james.apache.org/server/3/feature_stores.html will be updated with this for 3.0-M2 release.
I will try to also inject it in the quick start, but it must remain quick :)

Tks,

Eric


On 12/11/2010 08:23, Mohammad Naghavi wrote:
Hi Eric
I didn't get it! maybe cause I'm totally new to James. what do you mean by
mailbox in contrast to mailstore? does mailbox means inbox? and mailstore as
I understood means spams and deadletters.
also the non-mailbox ones are using database.properties or not? (sure when
it is configured to use DB for storage)

Tanks
MN
________________________________________
PHP&  ASP .Net 3.5 web developer
Java&  C# desktop developer
www.mohamnag.com



On Fri, Nov 12, 2010 at 6:25 AM, Eric Charles<[email protected]>  wrote:

Hi,
To be complete, there are two types of "mail store".

1.- The mailbox store which is configured in spring-beans.xml (if default
jpa is used, you have database.properties to define which database to use).
2.- The other mails (non-mailbox) that use definitions from mailstore.xml
and that can be used in by mailetcontainer.xml to persist mails that are
spam, error,...

This is really confusing and I'm sure we can do better on conf/doc level.
For example, having an additional mailbox.xml file that contains
definitions for the mailbox. At least, user will see there is two types of
mail : the mailbox and the mailstore.

Tks,

Eric


On 11/11/2010 22:34, Mohammad Naghavi wrote:

Thanks now it is functioning!
________________________________________
PHP&   ASP .Net 3.5 web developer
Java&   C# desktop developer
www.mohamnag.com



On Thu, Nov 11, 2010 at 10:27 PM, Gerry Matte<[email protected]>
  wrote:

  ee repositories - any are available to use.
The mailetcontainer lines se


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to