diff --git a/Dockerfile b/Dockerfile index 5395bf5..ceda6d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update # Start editing # Install package here for cache -RUN apt-get -y install supervisor postfix sasl2-bin opendkim opendkim-tools +RUN apt-get -y install supervisor postfix sasl2-bin opendkim opendkim-tools opendmarc # Add files ADD assets/install.sh /opt/install.sh diff --git a/assets/install.sh b/assets/install.sh index 0b2aaff..2f52953 100755 --- a/assets/install.sh +++ b/assets/install.sh @@ -83,8 +83,8 @@ EOF # /etc/postfix/main.cf postconf -e milter_protocol=2 postconf -e milter_default_action=accept -postconf -e smtpd_milters=inet:localhost:12301 -postconf -e non_smtpd_milters=inet:localhost:12301 +postconf -e smtpd_milters=inet:localhost:12301,inet:localhost:12302 +postconf -e non_smtpd_milters=inet:localhost:12301,inet:localhost:12302 cat >> /etc/opendkim.conf <> /etc/opendkim/SigningTable <> /etc/supervisor/conf.d/supervisord.conf <> /etc/opendmarc.conf <> /etc/opendmarc/ignore.hosts <> /etc/default/opendmarc <