diff --git a/.woodpecker.yml b/.woodpecker.yml index 3900fc2..6d77166 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -22,6 +22,6 @@ matrix: - ALPINE_VERSION: "3.19.0" POSTFIX_VERSION: "3.8.4" - ALPINE_VERSION: "3.18.4" - POSTFIX_VERSION: "3.8.3" + POSTFIX_VERSION: "3.8.4" - ALPINE_VERSION: "3.17.5" - POSTFIX_VERSION: "3.7.8" + POSTFIX_VERSION: "3.7.9" diff --git a/Dockerfile b/Dockerfile index 148b7b4..00a3bcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -71,6 +71,8 @@ RUN postconf -e virtual_alias_maps=lmdb:/etc/postfix/maps/virtual RUN postconf -e sender_canonical_classes=envelope_sender RUN postconf -e recipient_canonical_classes=envelope_recipient,header_recipient RUN postconf -e smtpd_client_connection_rate_limit=10 +RUN postconf -e smtpd_forbid_bare_newline=yes +RUN postconf -e smtpd_forbid_bare_newline_exclusions='$mynetworks' ARG ALPINE_VERSION=3.18.3 ARG BASE_IMAGE=gitea.nulo.in/sutty/monit