Skip to content

Commit

Permalink
Revert "Add OPENDKIM_TRUSTED_HOSTS"
Browse files Browse the repository at this point in the history
This reverts commit bfe27b7.
  • Loading branch information
williamdes committed Dec 31, 2023
1 parent 8096c33 commit 6abcccc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions user-patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF > /etc/amavis/conf.d/50-user
Expand Down

0 comments on commit 6abcccc

Please sign in to comment.