From f644ac117f464bf876eba59cbf3fed4601bc2884 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Thu, 30 May 2024 21:25:44 +0100 Subject: [PATCH] chore: Update Dockerfile to include loglevel configuration --- Haraka/Dockerfile.tpl | 2 +- Haraka/config/loglevel | 1 + Haraka/config/plugins | 16 ---------------- 3 files changed, 2 insertions(+), 17 deletions(-) create mode 100644 Haraka/config/loglevel diff --git a/Haraka/Dockerfile.tpl b/Haraka/Dockerfile.tpl index be3ad82f56..f38301e373 100644 --- a/Haraka/Dockerfile.tpl +++ b/Haraka/Dockerfile.tpl @@ -42,7 +42,7 @@ COPY ./Haraka/config/tls.ini /harakaapp/config/tls.ini COPY ./Haraka/config/auth_flat_file.ini /harakaapp/config/auth_flat_file.ini COPY ./Haraka/config/dkim_sign.ini /harakaapp/config/dkim_sign.ini COPY ./Haraka/config/host_list.ini /harakaapp/config/host_list.ini - +COPY ./Haraka/config/loglevel /harakaapp/config/loglevel # create plugin directory RUN mkdir -p /harakaapp/plugins diff --git a/Haraka/config/loglevel b/Haraka/config/loglevel new file mode 100644 index 0000000000..c17031a7a5 --- /dev/null +++ b/Haraka/config/loglevel @@ -0,0 +1 @@ +DEBUG \ No newline at end of file diff --git a/Haraka/config/plugins b/Haraka/config/plugins index 2ee9a9505f..f7df249246 100644 --- a/Haraka/config/plugins +++ b/Haraka/config/plugins @@ -1,17 +1 @@ -tls -auth/flat_file -dkim_sign - -# block mails from known bad hosts (see config/dnsbl.zones for the DNS zones queried) -dnsbl - -# block mail from some known bad HELOs - see config/helo.checks.ini for configuration -helo.checks - -# block mail from known bad email addresses you put in access -access - -# Only accept mail where the MAIL FROM domain is resolvable to an MX record -mail_from.is_resolvable - email_parser \ No newline at end of file