Skip to content

Commit 61438d8

Browse files
committed
mail: use hostname for postgres database
1 parent d5e4e94 commit 61438d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mail/files/userdb-aliases.cf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# See pgsql_table(5)
22

33
domain = hashbang.sh
4-
# TODO(daurnimator): DNS entry here had to be manually resolved
5-
hosts = postgresql://mail:[email protected]:25060/userdb?sslmode=require
4+
hosts = postgresql://mail:userdb-mail-lookup@userdb-attempt-too-do-user-989073-0.db.ondigitalocean.com:25060/userdb?sslmode=require
65
dbname = userdb
76
query = select name || '@' || host from passwd where name = '%u'

0 commit comments

Comments
 (0)