Ref:https://james.apache.org/server/
Quick Start
The goal of the document is to allow anyone to start with James binary distribution as an operational mail server.
Step 0: Requirements
- JRE 1.6+
- root (linux/unix) or Administrator (Windows)
- libc6 (linux)
- 512MB RAM (launches with -Xmx512M - can use less, can need more, depending on load)
Step 1: Download
- Download apache-james-3.0-beta4-app.zip from http://james.apache.org/download.cgi#Apache_James_Server
Step 2: Deploy
- Unzip apache-james-3.0-beta4-app.zip.
- You should have a folder with sub-folders bin, conf, lib, log, var and four text files.
$ unzip japache-james-3.0-beta4-app.zip
$ cd apache-james-3.0-beta4-app
$ ls (linux) / dir (windows)
bin
BUILD.txt
conf
lib
LICENSE.txt
log
NOTICE.txt
README.txt
var
Step 3: Understand James Features
Persistence
- Mailbox is for users’ Inbox, Sent Items, Trash… folders - Mailbox persistence is configured in spring-beans.xml (by default jpa, 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.
- Mailrepositorystore is for spam, error,… mails, so nothing to do with users visible mails. 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/).
- Domain persistence is configured in domainlist.xml
- Users persistence is configured in usersrepository.xml
- All