correct username format
This commit is contained in:
parent
a850f43c1d
commit
cb6ab68906
21
README.md
21
README.md
@ -3,27 +3,6 @@
|
|||||||
Uses [SSMTP](https://packages.debian.org/stable/mail/ssmtp) to send mails (for example if you have a redirect sieve rule).
|
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
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
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
|
# Volumes
|
||||||
- `/var/lib/vmail/mail`
|
- `/var/lib/vmail/mail`
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
auth_username_chars = {{getenv "ALLOWED_USERNAME_CHARS" "äöüabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@"}}
|
auth_username_chars = {{getenv "ALLOWED_USERNAME_CHARS" "äöüabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@"}}
|
||||||
auth_username_format = %n
|
auth_username_format ="%Ld_%Ln"
|
||||||
auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain login oauthbearer xoauth2"}}
|
auth_mechanisms = {{getenv "AUTH_MECHANISMS" "plain login oauthbearer xoauth2"}}
|
||||||
!include auth-oauth2.conf.ext
|
!include auth-oauth2.conf.ext
|
||||||
|
Loading…
Reference in New Issue
Block a user