diff --git a/README.md b/README.md index dcda64f..4f4855e 100644 --- a/README.md +++ b/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). -``` -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` diff --git a/rootfs/etc/confd/templates/10-auth.conf.tmpl b/rootfs/etc/confd/templates/10-auth.conf.tmpl index 8559320..da3ef39 100644 --- a/rootfs/etc/confd/templates/10-auth.conf.tmpl +++ b/rootfs/etc/confd/templates/10-auth.conf.tmpl @@ -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