1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-08-10 22:31:47 +02:00

Implement oletools to filter out bad macros

This commit is contained in:
Florent Daigniere
2022-11-23 15:42:46 +01:00
parent 9c6e9b05db
commit 3e45a791cf
15 changed files with 211 additions and 3 deletions

View File

@@ -103,16 +103,33 @@ services:
- {{ dns }}
{% endif %}
oletools:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}oletools:${MAILU_VERSION:-{{ version }}}
hostname: oletools
restart: always
networks:
- noinet
depends_on:
{% if resolver_enabled %}
- resolver
dns:
- {{ dns }}
{% endif %}
antispam:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{ version }}}
hostname: antispam
restart: always
env_file: {{ env }}
networks:
- default
- noinet
volumes:
- "{{ root }}/filter:/var/lib/rspamd"
- "{{ root }}/overrides/rspamd:/etc/rspamd/override.d:ro"
depends_on:
- front
- oletools
{% if resolver_enabled %}
- resolver
dns:
@@ -199,3 +216,6 @@ networks:
{% if ipv6_enabled %}
- subnet: {{ subnet6 }}
{% endif %}
noinet:
driver: bridge
internal: true