summaryrefslogtreecommitdiff
path: root/etc/sqlgrey
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sqlgrey')
-rw-r--r--etc/sqlgrey/clients_fqdn_whitelist.local4
-rw-r--r--etc/sqlgrey/sqlgrey.conf14
2 files changed, 18 insertions, 0 deletions
diff --git a/etc/sqlgrey/clients_fqdn_whitelist.local b/etc/sqlgrey/clients_fqdn_whitelist.local
new file mode 100644
index 0000000..8b695ee
--- /dev/null
+++ b/etc/sqlgrey/clients_fqdn_whitelist.local
@@ -0,0 +1,4 @@
+# 2022-08-20 Fine Homebuilding "forgot password"
+subscriptionconfirmation.com
+# 2022-09-12 Sends from IP without hostname
+att-mail.com
diff --git a/etc/sqlgrey/sqlgrey.conf b/etc/sqlgrey/sqlgrey.conf
new file mode 100644
index 0000000..eb73182
--- /dev/null
+++ b/etc/sqlgrey/sqlgrey.conf
@@ -0,0 +1,14 @@
+#########################
+## SQLgrey config file ##
+#########################
+
+user = _sqlgrey
+group = _sqlgrey
+
+db_type = mysql
+db_name = sqlgrey
+db_host = localhost
+db_port = default
+db_user = sqlgrey
+db_pass = <PASSWORD GOES HERE>
+db_dsn = DBI:mysql:database=sqlgrey;host=localhost;mysql_socket=/var/www/var/run/mysql/mysql.sock