summaryrefslogtreecommitdiff
path: root/README.md
blob: 2fd628c92e1caa27a3aa4fdc1f0879d330edcf20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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