Mailcow: Force v4 for Mailcow

This commit is contained in:
Benoit 2025-02-15 14:53:51 +09:00
parent baf7f43980
commit 638ae5ffde
Signed by: Benoit
SSH key fingerprint: SHA256:kFsX94Kq6z/6CY0dX+7/FpAeJC0QlMhJVY+B7NYrOmA
2 changed files with 6 additions and 6 deletions

View file

@ -13,25 +13,25 @@ listen ssh
bind :::25 v6only bind :::25 v6only
mode tcp mode tcp
option tcplog option tcplog
server mailcow mailcow.incus:10025 send-proxy server mailcow 10.10.10.214:10025 send-proxy check
listen smtps listen smtps
bind :465 bind :465
bind :::465 v6only bind :::465 v6only
mode tcp mode tcp
option tcplog option tcplog
server mailcow mailcow.incus:10465 send-proxy server mailcow 10.10.10.214:10465 send-proxy check
listen imaps listen imaps
bind :993 bind :993
bind :::993 v6only bind :::993 v6only
mode tcp mode tcp
option tcplog option tcplog
server mailcow mailcow.incus:10993 send-proxy server mailcow 10.10.10.214:10993 send-proxy check
listen sieve listen sieve
bind :4190 bind :4190
bind :::4190 v6only bind :::4190 v6only
mode tcp mode tcp
option tcplog option tcplog
server mailcow mailcow.incus:14190 send-proxy server mailcow 10.10.10.214:14190 send-proxy check
# Adguard # Adguard
listen adguard-dot listen adguard-dot
@ -39,4 +39,4 @@ listen adguard-dot
bind :::853 v6only bind :::853 v6only
mode tcp mode tcp
option tcplog option tcplog
server adguard adguard.incus:10853 send-proxy server adguard adguard.incus:10853 send-proxy check

View file

@ -65,7 +65,7 @@ backend adguard
http-response set-header X-Content-Type-Options "nosniff" http-response set-header X-Content-Type-Options "nosniff"
http-response set-header Referrer-Policy "strict-origin-when-cross-origin" http-response set-header Referrer-Policy "strict-origin-when-cross-origin"
http-response set-header Cross-Origin-Resource-Policy "same-origin" http-response set-header Cross-Origin-Resource-Policy "same-origin"
server adguard adguard.incus:443 check server adguard adguard.incus:443 check ssl verify none
backend vaultwarden backend vaultwarden
# set HSTS for one year after all responses # set HSTS for one year after all responses