use new s6-rc layout [skip ci]

This commit is contained in:
Sebastian Hugentobler 2022-02-18 15:18:33 +01:00
parent 631cb25eff
commit 68dd84ef7e
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
6 changed files with 4 additions and 8 deletions

View File

@ -17,9 +17,6 @@ create table if not exists virtual_aliases (
destination text not null destination text not null
); );
create table if not exists virtual_senders (
email text not null references virtual_users(email)
);
``` ```
# Volumes # Volumes

View File

@ -70,7 +70,6 @@ non_smtpd_milters=$smtpd_milters
milter_mail_macros="i {mail_addr} {client_addr} {client_name} {auth_authen}" milter_mail_macros="i {mail_addr} {client_addr} {client_name} {auth_authen}"
milter_default_action = accept milter_default_action = accept
milter_macro_daemon_name = ORIGINATING milter_macro_daemon_name = ORIGINATING
milter_connect_macros = "i j {daemon_name} v {if_name} _"
message_size_limit = {{getenv "MESSAGE_SIZELIMIT" "20000000"}} message_size_limit = {{getenv "MESSAGE_SIZELIMIT" "20000000"}}

View File

@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }} user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }} password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }} dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT email FROM virtual_users WHERE email='%s' UNION SELECT destination FROM virtual_aliases WHERE email='%s' query = SELECT email FROM virtual_users WHERE email='%u' UNION SELECT destination FROM virtual_aliases WHERE source='%u'

View File

@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }} user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }} password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }} dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT destination FROM virtual_aliases WHERE email='%s' query = SELECT destination FROM virtual_aliases WHERE source='%u'

View File

@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }} user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }} password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }} dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT name FROM virtual_domains WHERE name='%s' query = SELECT name FROM virtual_domains WHERE name='%u'

View File

@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
user = {{ getenv "DB_USER" "email" }} user = {{ getenv "DB_USER" "email" }}
password = {{ getenv "DB_PASSWORD" }} password = {{ getenv "DB_PASSWORD" }}
dbname = {{ getenv "DB_NAME" "email" }} dbname = {{ getenv "DB_NAME" "email" }}
query = SELECT email FROM virtual_users WHERE email ='%s' query = SELECT email FROM virtual_users WHERE email ='%u'