From 0cc77fd254f252e47e824d3b01a5a49fe766ee9a Mon Sep 17 00:00:00 2001 From: madman-sf <48839861+madman-sf@users.noreply.github.com> Date: Tue, 10 Jan 2023 22:09:47 +0100 Subject: [PATCH] pgsql is the wrong identifier (#29) changed pgsql to Pg identifier in dmarc-report-parser.conf --- manifest/usr/bin/dmarcts-report-parser.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest/usr/bin/dmarcts-report-parser.conf b/manifest/usr/bin/dmarcts-report-parser.conf index f6f1b29..57ae581 100644 --- a/manifest/usr/bin/dmarcts-report-parser.conf +++ b/manifest/usr/bin/dmarcts-report-parser.conf @@ -13,7 +13,7 @@ $dbuser = $ENV{'REPORT_DB_USER'}; $dbpass = $ENV{'REPORT_DB_PASS'}; $dbhost = $ENV{'REPORT_DB_HOST'}; # Set the hostname if we can't connect to the local socket. $dbport = $ENV{'REPORT_DB_PORT'} // 3306; -$dbtype = $ENV{'REPORT_DB_TYPE'} // 'mysql'; +$dbtype = $ENV{'REPORT_DB_TYPE'} eq 'pgsql' ? 'Pg' : 'mysql'; if(exists $ENV{PARSER_IMAP_SERVER_WITH_PORT} && defined $ENV{PARSER_IMAP_SERVER_WITH_PORT}) { my @server_attr = split ':', $ENV{PARSER_IMAP_SERVER_WITH_PORT};