From f22d75fa623675f5fa7dbb05316221dd1f02b07d Mon Sep 17 00:00:00 2001 From: Casper Date: Tue, 22 Mar 2022 17:53:12 +0100 Subject: [PATCH] Remove invalid URL from SPF message (#2503) --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 23e5a000..a0fc4d29 100644 --- a/Dockerfile +++ b/Dockerfile @@ -202,6 +202,10 @@ RUN \ # --- Fetchmail, Postfix & Let'sEncrypt --------- # ----------------------------------------------- +# Remove invalid URL from SPF message +# https://bugs.launchpad.net/spf-engine/+bug/1896912 +RUN echo 'Reason_Message = Message {rejectdefer} due to: {spf}.' >>/etc/postfix-policyd-spf-python/policyd-spf.conf + COPY target/fetchmail/fetchmailrc /etc/fetchmailrc_general COPY target/postfix/main.cf target/postfix/master.cf /etc/postfix/