From 28ef6e0c56fffd95e7fb08c46759d8b0b9735938 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sat, 18 Oct 2025 12:20:29 +0200 Subject: [PATCH] example_configs: mailserver, fix outdated roundcube mounts and filters --- example_configs/mailserver.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/example_configs/mailserver.md b/example_configs/mailserver.md index 5ae2a1c..6777c9f 100644 --- a/example_configs/mailserver.md +++ b/example_configs/mailserver.md @@ -58,9 +58,9 @@ services: - LDAP_SEARCH_BASE=ou=people,dc=example,dc=com - LDAP_BIND_DN=uid=admin,ou=people,dc=example,dc=com - LDAP_BIND_PW=adminpassword - - LDAP_QUERY_FILTER_USER=(&(objectClass=inetOrgPerson)(|(uid=%u)(mail=%u))) + - LDAP_QUERY_FILTER_USER=(&(objectClass=inetOrgPerson)(mail=%s)) - LDAP_QUERY_FILTER_GROUP=(&(objectClass=groupOfUniqueNames)(uid=%s)) - - LDAP_QUERY_FILTER_ALIAS=(&(objectClass=inetOrgPerson)(|(uid=%u)(mail=%u))) + - LDAP_QUERY_FILTER_ALIAS=(&(objectClass=inetOrgPerson)(mail=%s)) - LDAP_QUERY_FILTER_DOMAIN=(mail=*@%s) # <<< Postfix LDAP Integration # >>> Dovecot LDAP Integration @@ -78,7 +78,8 @@ services: container_name: roundcubemail restart: always volumes: - - roundcube_data:/var/www/html + - roundcube_config:/var/roundcube/config + - roundcube_plugins:/var/www/html/plugins ports: - "9002:80" environment: @@ -86,12 +87,15 @@ services: - ROUNDCUBEMAIL_SKIN=elastic - ROUNDCUBEMAIL_DEFAULT_HOST=mailserver # IMAP - ROUNDCUBEMAIL_SMTP_SERVER=mailserver # SMTP + - ROUNDCUBEMAIL_COMPOSER_PLUGINS=roundcube/carddav + - ROUNDCUBEMAIL_PLUGINS=carddav volumes: mailserver-data: mailserver-config: mailserver-state: lldap_data: - roundcube_data: + roundcube_config: + roundcube_plugins: ```