rspamd + trust local network

This commit is contained in:
f 2020-11-17 14:59:48 -03:00
parent 40a6e33126
commit cce9fe9062

View file

@ -25,7 +25,7 @@ RUN postconf -e alias_maps='hash:/etc/postfix/aliases' \
&& postconf -e mydestination='/etc/postfix/maps/domains.cf' \ && postconf -e mydestination='/etc/postfix/maps/domains.cf' \
&& postconf -e inet_interfaces='all' \ && postconf -e inet_interfaces='all' \
&& postconf -e local_recipient_maps='unix:passwd.byname $alias_maps' \ && 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 home_mailbox='Maildir/' \
&& postconf -e message_size_limit=20480000 \ && postconf -e message_size_limit=20480000 \
&& postconf -e inet_protocols='all' \ && 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 append_dot_mydomain=yes \
&& postconf -e masquerade_domains='$mydomain' \ && postconf -e masquerade_domains='$mydomain' \
&& postconf -e non_smtpd_milters=inet:opendkim:8891 \ && 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 virtual_alias_maps=hash:/etc/postfix/maps/virtual \
&& postconf -e sender_canonical_maps=tcp:postsrsd:10001 \ && postconf -e sender_canonical_maps=tcp:postsrsd:10001 \
&& postconf -e sender_canonical_classes=envelope_sender \ && postconf -e sender_canonical_classes=envelope_sender \