summaryrefslogtreecommitdiff
path: root/README.md
blob: cd605057654e5e13e96f4cf1aa8ff034138f952c (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, UPDATE and DELETE