Implemented resolver for solving <<non DNSSEC destination>> error

This commit is contained in:
Kevin Veen-Birkenbach 2023-05-23 00:01:22 +02:00
parent 26b0061faf
commit ce0694671b
2 changed files with 77 additions and 1 deletions

View File

@ -90,3 +90,4 @@ For update instructions follow:
- https://github.com/Mailu/Mailu/issues/1171 - https://github.com/Mailu/Mailu/issues/1171
- https://support.plesk.com/hc/en-us/articles/115001264814-Unable-to-log-into-RoundCube-Connection-to-storage-server-failed - https://support.plesk.com/hc/en-us/articles/115001264814-Unable-to-log-into-RoundCube-Connection-to-storage-server-failed
- https://github.com/Mailu/Mailu - https://github.com/Mailu/Mailu
- https://github.com/Mailu/Mailu/issues/2135

View File

@ -16,6 +16,11 @@ services:
retries: 30 retries: 30
logging: logging:
driver: journald driver: journald
depends_on:
- resolver
dns:
- 192.168.203.254
database: database:
image: mariadb image: mariadb
restart: always restart: always
@ -34,8 +39,22 @@ services:
retries: 5 retries: 5
logging: logging:
driver: journald driver: journald
depends_on:
- resolver
dns:
- 192.168.203.254
# Core services # Core services
resolver:
image: ghcr.io/mailu/unbound:{{mailu_version}}
env_file: mailu.env
restart: always
networks:
default:
ipv4_address: 192.168.203.254
logging:
driver: journald
front: front:
image: ghcr.io/mailu/nginx:{{mailu_version}} image: ghcr.io/mailu/nginx:{{mailu_version}}
restart: always restart: always
@ -55,8 +74,17 @@ services:
- "/etc/mailu/overrides/nginx:/overrides:ro" - "/etc/mailu/overrides/nginx:/overrides:ro"
- "/etc/mailu/certs:/certs" - "/etc/mailu/certs:/certs"
depends_on: depends_on:
resolver:
condition: service_started
database: database:
condition: service_healthy condition: service_healthy
networks:
- default
- webmail
- radicale
dns:
- 192.168.203.254
admin: admin:
image: ghcr.io/mailu/admin:{{mailu_version}} image: ghcr.io/mailu/admin:{{mailu_version}}
restart: always restart: always
@ -65,10 +93,14 @@ services:
- "admin_data:/data" - "admin_data:/data"
- "dkim:/dkim" - "dkim:/dkim"
depends_on: depends_on:
- resolver
- front - front
- redis - redis
- database
logging: logging:
driver: journald driver: journald
dns:
- 192.168.203.254
imap: imap:
image: ghcr.io/mailu/dovecot:{{mailu_version}} image: ghcr.io/mailu/dovecot:{{mailu_version}}
restart: always restart: always
@ -78,6 +110,9 @@ services:
- "/etc/mailu/overrides:/overrides:ro" - "/etc/mailu/overrides:/overrides:ro"
depends_on: depends_on:
- front - front
- resolver
dns:
- 192.168.203.254
logging: logging:
driver: journald driver: journald
@ -90,6 +125,9 @@ services:
- "smtp_queue:/queue" - "smtp_queue:/queue"
depends_on: depends_on:
- front - front
- resolver
dns:
- 192.168.203.254
logging: logging:
driver: journald driver: journald
@ -97,6 +135,12 @@ services:
image: ghcr.io/mailu/oletools:{{mailu_version}} image: ghcr.io/mailu/oletools:{{mailu_version}}
hostname: oletools hostname: oletools
restart: always restart: always
depends_on:
- resolver
dns:
- 192.168.203.254
networks:
- noinet
antispam: antispam:
image: ghcr.io/mailu/rspamd:{{mailu_version}} image: ghcr.io/mailu/rspamd:{{mailu_version}}
@ -110,6 +154,12 @@ services:
- front - front
- redis - redis
- antivirus - antivirus
- resolver
dns:
- 192.168.203.254
networks:
- default
- noinet
logging: logging:
driver: journald driver: journald
@ -120,6 +170,10 @@ services:
env_file: mailu.env env_file: mailu.env
volumes: volumes:
- "filter:/data" - "filter:/data"
depends_on:
- resolver
dns:
- 192.168.203.254
logging: logging:
driver: journald driver: journald
@ -131,6 +185,12 @@ services:
- "webdav_data:/data" - "webdav_data:/data"
logging: logging:
driver: journald driver: journald
networks:
- radicale
depends_on:
- resolver
dns:
- 192.168.203.254
fetchmail: fetchmail:
image: ghcr.io/mailu/fetchmail:{{mailu_version}} image: ghcr.io/mailu/fetchmail:{{mailu_version}}
@ -144,8 +204,10 @@ services:
- admin - admin
- smtp - smtp
- imap - imap
- resolver
dns:
- 192.168.203.254
# Webmail
webmail: webmail:
image: ghcr.io/mailu/webmail:{{mailu_version}} image: ghcr.io/mailu/webmail:{{mailu_version}}
restart: always restart: always
@ -155,8 +217,14 @@ services:
depends_on: depends_on:
- imap - imap
- front - front
- resolver
logging: logging:
driver: journald driver: journald
networks:
- webmail
dns:
- 192.168.203.254
volumes: volumes:
database: database:
smtp_queue: smtp_queue:
@ -174,3 +242,10 @@ networks:
driver: default driver: default
config: config:
- subnet: {{mailu_subnet}} - subnet: {{mailu_subnet}}
radicale:
driver: bridge
webmail:
driver: bridge
noinet:
driver: bridge
internal: true