use new s6-rc layout [skip ci]
This commit is contained in:
parent
631cb25eff
commit
68dd84ef7e
@ -17,9 +17,6 @@ create table if not exists virtual_aliases (
|
||||
destination text not null
|
||||
);
|
||||
|
||||
create table if not exists virtual_senders (
|
||||
email text not null references virtual_users(email)
|
||||
);
|
||||
```
|
||||
|
||||
# Volumes
|
||||
|
@ -70,7 +70,6 @@ non_smtpd_milters=$smtpd_milters
|
||||
milter_mail_macros="i {mail_addr} {client_addr} {client_name} {auth_authen}"
|
||||
milter_default_action = accept
|
||||
milter_macro_daemon_name = ORIGINATING
|
||||
milter_connect_macros = "i j {daemon_name} v {if_name} _"
|
||||
|
||||
message_size_limit = {{getenv "MESSAGE_SIZELIMIT" "20000000"}}
|
||||
|
||||
|
@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
|
||||
user = {{ getenv "DB_USER" "email" }}
|
||||
password = {{ getenv "DB_PASSWORD" }}
|
||||
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'
|
||||
|
@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
|
||||
user = {{ getenv "DB_USER" "email" }}
|
||||
password = {{ getenv "DB_PASSWORD" }}
|
||||
dbname = {{ getenv "DB_NAME" "email" }}
|
||||
query = SELECT destination FROM virtual_aliases WHERE email='%s'
|
||||
query = SELECT destination FROM virtual_aliases WHERE source='%u'
|
||||
|
@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
|
||||
user = {{ getenv "DB_USER" "email" }}
|
||||
password = {{ getenv "DB_PASSWORD" }}
|
||||
dbname = {{ getenv "DB_NAME" "email" }}
|
||||
query = SELECT name FROM virtual_domains WHERE name='%s'
|
||||
query = SELECT name FROM virtual_domains WHERE name='%u'
|
||||
|
@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }}
|
||||
user = {{ getenv "DB_USER" "email" }}
|
||||
password = {{ getenv "DB_PASSWORD" }}
|
||||
dbname = {{ getenv "DB_NAME" "email" }}
|
||||
query = SELECT email FROM virtual_users WHERE email ='%s'
|
||||
query = SELECT email FROM virtual_users WHERE email ='%u'
|
||||
|
Loading…
Reference in New Issue
Block a user