From 642ac6d02cac69eec7c323ca4b582b72ff73416d Mon Sep 17 00:00:00 2001 From: FreddleSpl0it <75116288+FreddleSpl0it@users.noreply.github.com> Date: Thu, 11 Sep 2025 10:34:35 +0200 Subject: [PATCH 1/3] [Web] remove unused bcc dest column from alias table --- data/web/js/site/mailbox.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index 6a04eb241..df61f8720 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -1949,11 +1949,6 @@ jQuery(function($){ defaultContent: '', responsivePriority: 5, }, - { - title: lang.bcc_destinations, - data: 'bcc_dest', - defaultContent: '' - }, { title: lang.sogo_visible, data: 'sogo_visible', From 0d900d4fc8559072c5365f374f6025ebe1961638 Mon Sep 17 00:00:00 2001 From: FreddleSpl0it <75116288+FreddleSpl0it@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:01:50 +0200 Subject: [PATCH 2/3] [SOGo] Drop deprecated `sogo_update_password` sql trigger if it still exists --- data/Dockerfiles/sogo/bootstrap-sogo.sh | 4 ++++ docker-compose.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/sogo/bootstrap-sogo.sh b/data/Dockerfiles/sogo/bootstrap-sogo.sh index abd398b34..96d8a6919 100755 --- a/data/Dockerfiles/sogo/bootstrap-sogo.sh +++ b/data/Dockerfiles/sogo/bootstrap-sogo.sh @@ -24,6 +24,10 @@ while [[ "${DBV_NOW}" != "${DBV_NEW}" ]]; do done echo "DB schema is ${DBV_NOW}" +if [[ "${MASTER}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then + mariadb --skip-ssl --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "DROP TRIGGER IF EXISTS sogo_update_password" +fi + # cat /dev/urandom seems to hang here occasionally and is not recommended anyway, better use openssl RAND_PASS=$(openssl rand -base64 16 | tr -dc _A-Z-a-z-0-9) diff --git a/docker-compose.yml b/docker-compose.yml index 874933bf0..215a196f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -200,7 +200,7 @@ services: - phpfpm sogo-mailcow: - image: ghcr.io/mailcow/sogo:1.134 + image: ghcr.io/mailcow/sogo:1.135 environment: - DBNAME=${DBNAME} - DBUSER=${DBUSER} From 84e230de8f68705f8cf9b7ef20bc18525275bd35 Mon Sep 17 00:00:00 2001 From: patr_ <30580969+p-atr@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:17:18 +0200 Subject: [PATCH 3/3] [Nginx] fix: Disable IPv6 support in Nginx configuration (#6736) Co-authored-by: patr_ --- data/conf/nginx/templates/nginx.conf.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/conf/nginx/templates/nginx.conf.j2 b/data/conf/nginx/templates/nginx.conf.j2 index d71d63e56..4b32ff15b 100644 --- a/data/conf/nginx/templates/nginx.conf.j2 +++ b/data/conf/nginx/templates/nginx.conf.j2 @@ -78,7 +78,7 @@ http { {%endif%} listen {{ HTTPS_PORT }}{% if NGINX_USE_PROXY_PROTOCOL %} proxy_protocol{%endif%} ssl; - {% if not DISABLE_IPv6 %} + {% if ENABLE_IPV6 %} {% if not HTTP_REDIRECT %} listen [::]:{{ HTTP_PORT }}{% if NGINX_USE_PROXY_PROTOCOL %} proxy_protocol{%endif%}; {%endif%} @@ -105,7 +105,7 @@ http { {%endif%} listen {{ HTTPS_PORT }}{% if NGINX_USE_PROXY_PROTOCOL %} proxy_protocol{%endif%} ssl; - {% if not DISABLE_IPv6 %} + {% if ENABLE_IPV6 %} {% if not HTTP_REDIRECT %} listen [::]:{{ HTTP_PORT }}{% if NGINX_USE_PROXY_PROTOCOL %} proxy_protocol{%endif%}; {%endif%} @@ -126,7 +126,7 @@ http { # rspamd dynmaps: server { listen 8081; - {% if not DISABLE_IPv6 %} + {% if ENABLE_IPV6 %} listen [::]:8081; {%endif%} index index.php index.html; @@ -199,7 +199,7 @@ http { {%endif%} listen {{ HTTPS_PORT }}{% if NGINX_USE_PROXY_PROTOCOL %} proxy_protocol{%endif%} ssl; - {% if not DISABLE_IPv6 %} + {% if ENABLE_IPV6 %} {% if not HTTP_REDIRECT %} listen [::]:{{ HTTP_PORT }}{% if NGINX_USE_PROXY_PROTOCOL %} proxy_protocol{%endif%}; {%endif%}