<?xml version="1.0"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one
  or more contributor license agreements.  See the NOTICE file
  distributed with this work for additional information
  regarding copyright ownership.  The ASF licenses this file
  to you under the Apache License, Version 2.0 (the
  "License"); you may not use this file except in compliance
  with the License.  You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an
  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  KIND, either express or implied.  See the License for the
  specific language governing permissions and limitations
  under the License.    
-->
<document>

 <properties>
  <title>Apache James Server 3 - Dev - Database Schema</title>
 </properties>

<body>

  <section name="Database Schema">
   
    <img src="images/database/james-database-schema-derby_1000.png"/>
    
    <p>The users is in the JAMESUSER table.</p>

    <p>Depending on your virtualHosting config, JAMESUSER.NAME is the email 
       address (or the user part that must be completed with a domain).</p>

    <p>The user has MAILBOXes via the SUBSCRIPTION table.</p>

    <p>The email are in MESSAGE (belonging to a MAILBOX via MEMBERSHIP). 
       You have to look in the HEADER table to get all the detailed 
       information (from, to, cc, bcc,...).
    </p>

  </section>

</body>

</document>
