rspamd + trust local network
This commit is contained in:
parent
40a6e33126
commit
cce9fe9062
1 changed files with 4 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue