correct username format

This commit is contained in:
Sebastian Hugentobler 2022-01-22 20:26:16 +01:00
parent a850f43c1d
commit cb6ab68906
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 1 additions and 22 deletions

View File

@ -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).
```
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
- `/var/lib/vmail/mail`

View File

@ -1,4 +1,4 @@
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"}}
!include auth-oauth2.conf.ext