rspamd is only hosted on a single node
This commit is contained in:
parent
cce9fe9062
commit
d7bde32d6a
2 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,6 @@ 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:rspamd:11332,inet:opendkim:8891' \
|
|
||||||
&& postconf -e milter_default_action=accept \
|
&& postconf -e milter_default_action=accept \
|
||||||
&& postconf -e milter_protocol=6 \
|
&& 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 \
|
||||||
|
|
|
@ -5,5 +5,6 @@ postconf -e myhostname="${SUTTY}"
|
||||||
postconf -e mydomain="${SUTTY}"
|
postconf -e mydomain="${SUTTY}"
|
||||||
postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${SUTTY}/privkey.pem"
|
postconf -e smtpd_tls_key_file="/etc/letsencrypt/live/${SUTTY}/privkey.pem"
|
||||||
postconf -e smtpd_tls_cert_file="/etc/letsencrypt/live/${SUTTY}/fullchain.pem"
|
postconf -e smtpd_tls_cert_file="/etc/letsencrypt/live/${SUTTY}/fullchain.pem"
|
||||||
|
postconf -e smtpd_milters="inet:rspamd.${DELEGATE}:11332,inet:opendkim:8891"
|
||||||
|
|
||||||
exec /usr/sbin/postfix start
|
exec /usr/sbin/postfix start
|
||||||
|
|
Loading…
Reference in a new issue