remove hostname from the connection string

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-22 15:06:21 +01:00
parent 8880703c06
commit e6e759b5d1
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -4,7 +4,7 @@ let
sieves = import ../../packages/sieves.nix pkgs;
dovecot-sql = pkgs.writeText "dovecot-sql.conf.ext" ''
driver = pgsql
connect = host=localhost dbname=postfix user=dovecot
connect = dbname=postfix user=dovecot
default_pass_scheme = ARGON2ID
password_query = \
SELECT local_part as username, domain, password, CONCAT('/var/vmail', maildir) AS userdb_home, 76 AS userdb_uid, 76 AS userdb_gid, CONCAT('*:bytes=', quota) AS userdb_quota_rule \