diff --git a/Dockerfile b/Dockerfile index 759f225..2a342d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ RUN postconf -e alias_maps='hash:/etc/postfix/aliases' \ && postconf -e mydestination='/etc/postfix/maps/domains.cf' \ && postconf -e inet_interfaces='all' \ && postconf -e local_recipient_maps='unix:passwd.byname $alias_maps' \ - && postconf -e mynetworks_style='host' \ + && postconf -e mynetworks_style='subnet' \ && postconf -e home_mailbox='Maildir/' \ && postconf -e message_size_limit=20480000 \ && postconf -e inet_protocols='all' \ @@ -64,7 +64,9 @@ RUN postconf -e alias_maps='hash:/etc/postfix/aliases' \ && postconf -e append_dot_mydomain=yes \ && postconf -e masquerade_domains='$mydomain' \ && postconf -e non_smtpd_milters=inet:opendkim:8891 \ - && postconf -e smtpd_milters=inet:opendkim:8891 \ + && postconf -e smtpd_milters='inet:rspamd:11332,inet:opendkim:8891' \ + && postconf -e milter_default_action=accept \ + && postconf -e milter_protocol=6 \ && postconf -e virtual_alias_maps=hash:/etc/postfix/maps/virtual \ && postconf -e sender_canonical_maps=tcp:postsrsd:10001 \ && postconf -e sender_canonical_classes=envelope_sender \