Auto saved by Logseq

This commit is contained in:
matze 2023-02-20 15:48:01 +01:00
parent 6057bd8c0c
commit 553d1c1895

View File

@ -169,7 +169,6 @@
UNION SELECT '%s' WHERE '%s' = 'mydomain.com' LIMIT 1; UNION SELECT '%s' WHERE '%s' = 'mydomain.com' LIMIT 1;
``` ```
- ``/etc/postfix/pgsql-transport-maps.cf`` - ``/etc/postfix/pgsql-transport-maps.cf``
``` ```
# postgres config # postgres config
hosts = localhost hosts = localhost
@ -181,6 +180,7 @@
query = SELECT 'smtp:127.0.0.1:20381' FROM custom_domain WHERE domain = '%s' AND verified=true query = SELECT 'smtp:127.0.0.1:20381' FROM custom_domain WHERE domain = '%s' AND verified=true
UNION SELECT 'smtp:127.0.0.1:20381' WHERE '%s' = 'mydomain.com' LIMIT 1; UNION SELECT 'smtp:127.0.0.1:20381' WHERE '%s' = 'mydomain.com' LIMIT 1;
``` ```
``sudo systemctl restart postfix``
- ``simplelogin.env`` - ``simplelogin.env``
``` ```