From 36b5748844565f4deca0a99ec4bb8afed434eeb5 Mon Sep 17 00:00:00 2001 From: Robert Schumann Date: Sun, 4 Feb 2024 23:44:22 +0100 Subject: [PATCH] fix: more environment vars for parser, fixes #52 * also update source dates --- README.md | 4 ++-- manifest/usr/bin/dmarcts-report-parser.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5aa0869..8af27c8 100644 --- a/README.md +++ b/README.md @@ -28,9 +28,9 @@ New dmarc reports will be fetched every 15 minutes past the hour, every hour. Th ## Versions for last build latest and docker image tag 1.4 -dmarcts report viewer: 2023-01-07 +dmarcts report viewer: 2024-02-04 -dmarcts report parser: 2023-01-07 +dmarcts report parser: 2024-02-04 CAUTION: The old gutmensch/dmarc-report:latest image (older alpine, php5, etc.) is available still as gutmensch/dmarc-report:0.5. The current latest (and 1.0) uses the latest alpine version, newer MySQL client libraries, newer OpenSSL, etc. and improves compatibilitiy with MySQL 8+. diff --git a/manifest/usr/bin/dmarcts-report-parser.conf b/manifest/usr/bin/dmarcts-report-parser.conf index 57ae581..0abf000 100644 --- a/manifest/usr/bin/dmarcts-report-parser.conf +++ b/manifest/usr/bin/dmarcts-report-parser.conf @@ -5,8 +5,8 @@ # If IMAP access is not used, config options starting with $imap do not need to # be set and are ignored. -$debug = 0; -$delete_reports = 0; +$debug = $ENV{'PARSER_DEBUG'} // 0; +$delete_reports = $ENV{'PARSER_DELETE_REPORTS'} // 0; $dbname = $ENV{'REPORT_DB_NAME'}; $dbuser = $ENV{'REPORT_DB_USER'};