1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-01-06 03:54:12 +02:00

Fix for Sieve error (due to IPv6 Comp from SOGo)

This commit is contained in:
DerLinkman 2022-08-24 12:12:41 +02:00
parent 0dcfac8f15
commit 7a23e4fd4e

View File

@ -307,11 +307,18 @@ namespace {
} }
EOF EOF
# Get SOGo IPv6 from Dig
SOGO_V6=$(dig +answer sogo AAAA +short)
cat <<EOF > /etc/dovecot/sogo_trusted_ip.conf cat <<EOF > /etc/dovecot/sogo_trusted_ip.conf
# Autogenerated by mailcow # Autogenerated by mailcow
remote ${IPV4_NETWORK}.248 { remote ${IPV4_NETWORK}.248 {
disable_plaintext_auth = no disable_plaintext_auth = no
} }
remote ${SOGO_V6} {
disable_plaintext_auth = no
}
EOF EOF
# Create random master Password for SOGo SSO # Create random master Password for SOGo SSO