diff --git a/docker-compose.yml b/docker-compose.yml index f3daa72..740e43f 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -93,7 +93,6 @@ services: RSPAMD_GREYLISTING: "1" RSPAMD_CHECK_AUTHENTICATED: "0" # Do not spam check outgoing emails MOVE_SPAM_TO_JUNK: "1" - OPENDKIM_TRUSTED_HOSTS: "${OPENDKIM_TRUSTED_HOSTS:-$'127.0.0.1\\nlocalhost'}" # Now it's up to RSPAMD_GREYLISTING to greylist # POSTGREY_DELAY: "${POSTGREY_DELAY:-300}" # POSTGREY_AUTO_WHITELIST_CLIENTS: "1" # Defaults to 5 diff --git a/user-patches.sh b/user-patches.sh index 85c3cdd..1101c9b 100755 --- a/user-patches.sh +++ b/user-patches.sh @@ -29,11 +29,6 @@ printf '\nsmtpd_tls_received_header = yes\n' "localhost" >> /etc/postfix/main.cf sed -i '/^smtp_helo_name =/d' /etc/postfix/main.cf printf '\nsmtp_helo_name = %s\n' "${OVERRIDE_HOSTNAME}" >> /etc/postfix/main.cf -echo 'Setup trusted hosts' -echo -e $OPENDKIM_TRUSTED_HOSTS > /etc/opendkim/TrustedHosts -echo 'Trusted hosts' -cat /etc/opendkim/TrustedHosts - echo 'Add spam check config' cat < /etc/amavis/conf.d/50-user