update readme

This commit is contained in:
Sebastian Hugentobler 2021-10-05 09:34:51 +02:00
parent c147ac4700
commit 7f0e05909d
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -2,6 +2,29 @@
Uses [SSMTP](https://packages.debian.org/stable/mail/ssmtp) to send mails (for example if you have a redirect sieve rule).
```
create table if not exists virtual_domains (
id serial primary key,
name text not null
);
create table if not exists virtual_users (
id serial primary key,
domain_id integer not null references virtual_domains(id),
email text not null,
destination text not null
);
create table if not exists virtual_aliases (
id serial primary key,
domain_id integer not null references virtual_domains(id),
source text not null,
destination text not null
);
```
# Volumes
- `/var/lib/vmail/mail`