Only use pgsql for local users
This commit is contained in:
parent
b9c284e099
commit
2378b48aba
@ -3,7 +3,7 @@
|
||||
|
||||
. ../APKBUILD-config.template
|
||||
|
||||
pkgver=2023.03.14.02
|
||||
pkgver=2023.05.02.01
|
||||
pkgrel=0
|
||||
depends="postfix-pgsql redxen-secret-letsencrypt-chain redxen-secret-letsencrypt-private"
|
||||
|
||||
|
@ -2,4 +2,5 @@ hosts = postgresql.routinginfo.internal:7550
|
||||
dbname = mail
|
||||
user = postfix
|
||||
password = POSTGRESQL_PASSWORD
|
||||
query = SELECT target FROM aliases WHERE alias = '%u' AND '%d' = 'redxen.eu' AND active = '1'
|
||||
query = SELECT target FROM aliases WHERE alias = '%u' AND active = '1'
|
||||
domain = redxen.eu
|
||||
|
@ -2,4 +2,5 @@ hosts = postgresql.routinginfo.internal:7550
|
||||
dbname = mail
|
||||
user = postfix
|
||||
password = POSTGRESQL_PASSWORD
|
||||
query = SELECT userid FROM users WHERE userid = '%u' AND '%d' = 'redxen.eu' AND active = '1'
|
||||
query = SELECT userid FROM users WHERE userid = '%u' AND active = '1'
|
||||
domain = redxen.eu
|
||||
|
Loading…
Reference in New Issue
Block a user