summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2fd628c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,24 @@
+JWebmail
+========
+
+SESSION STORAGE
+---------------
+
+This is a quick guide on how to set up the session storage.
+Your options are:
+
+### Redis
+
+1. Create a user 'jwebmail'
+
+That's it.
+
+### MySQL / MariaDB
+
+1. Create a user 'jwebmail' with a password
+2. Create a database 'jwebmaildb1'
+3. Create a table 'session' with the following schema
+
+ (user VARCHAR(64) PRIMARY KEY, password VARCHAR(255), timeout TIMESTAMP(2) NOT NULL);
+
+4. Grant privileges to the user jwebmail for the above table for at least SELECT, INSERT and DELETE