We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764c855 commit 19740b5Copy full SHA for 19740b5
build/Dockerfile
@@ -101,6 +101,9 @@ RUN sed -i '/\/var\/vmail\/backup/d' /var/spool/cron/crontabs/root
101
# Use one DKIM key for all domains
102
RUN sed -i s/^dkim_key\(\"$DOMAIN\"/dkim_key\(\"*\"/ /etc/amavis/conf.d/50-user
103
104
+# Bounce banned emails instead of discarding them
105
+RUN sed -i "s/=> 'DISCARD'],/=> 'BOUNCE'],/" /etc/amavis/conf.d/50-user
106
+
107
# Amend config files for runsv compatibility
108
RUN sed -i '/^Foreground /c Foreground true' /etc/clamav/clamd.conf \
109
&& sed -i '/init.d/c pkill -sighup clamd' /etc/logrotate.d/clamav-daemon \
0 commit comments