1 - Decompress package to the webserver root.


2 - Copy conf.dist.php to the R-MAIL root, rename in conf.php and complete variables.


3 - If you wish to use the address book by a MySQL database, it is necessary
to have installed a MySQL database, to have configured the file conf.php and creates
a MySQL database with the name, the rights and the accesses which you wish,
provided that the Web server can reach it.

database MySQL creation example :

CREATE DATABASE database_name;


4 - If you wish to authenticate or use the address book by a directory LDAP,
it is necessary to have installed a directory LDAP and to have configured the file
conf.php. R-MAIL was written on the basis that mailboxes username and password 
are the same ones as those written in the directory LDAP.

	4.1 - For the address book, it is necessary to create a directory with
	the name which you wish at the place that you want, provided that this
	name is defined in the file conf.php and that any user can write in
	this directory.
	
	directory creation example in LDAP directory :  
	
	ldapadd -x -D "cn=super_user, dc=domain, dc=country_extension" -w "password" \
	-f "address_book_creation_file_way"

	//----------------------------------------------------------------------//
	// content of the address_book_creation_file				//
	//									//
	// dn: ou=address_book_name,ou=way,dc=domain,dc=country_extension	//
	// ou: address_book_name						//
	// objectclass: organizationalUnit					//
	//----------------------------------------------------------------------//

	4.2 - It is necessary to add schema r-mail.schema in your LDAP configuration file.
	You will find it in $home/R-MAIL_v.1.0.2/docs/doc_english/schema_r-mail.
	You in addition need the schemas core.schema and cosine.schema.

	The schema r-mail.schema has a oid which can be already used, in which case,
	it will have to be changed.

