prep au passage en version 17 et rspamd + interface web rspamd

This commit is contained in:
Didier committed 2026-11-27 07:07:27 +01:00
1 parent 5af1a705c6
commit f78d28f8cc
2 files changed
+26 -1

No files matched your search

+6 -1
View File
@@ -18,6 +18,7 @@ services:
- ${MAIN_IP}:465:465 - ${MAIN_IP}:465:465
- ${MAIN_IP}:993:993 - ${MAIN_IP}:993:993
- ${MAIN_IP}:4190:4190 - ${MAIN_IP}:4190:4190
- ${MAIN_IP}:11334:11334
volumes: volumes:
- mailData:/var/mail - mailData:/var/mail
- mailState:/var/mail-state - mailState:/var/mail-state
@@ -35,7 +36,7 @@ services:
- HOSTNAME=${smtpHost} - HOSTNAME=${smtpHost}
- DOMAINNAME=${domain} - DOMAINNAME=${domain}
- CONTAINER_NAME=${smtpServName} - CONTAINER_NAME=${smtpServName}
- LDAP_SERVER_HOST=ldap://${ldapServName} # your ldap container/IP/ServerName - LDAP_SERVER_HOST=ldap://${ldapServName}
- LDAP_SEARCH_BASE=${ldap_root} - LDAP_SEARCH_BASE=${ldap_root}
env_file: env_file:
- env-config - env-config
@@ -45,7 +46,11 @@ services:
- SYS_PTRACE - SYS_PTRACE
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.mail.middlewares=test-adminipallowlist@file"
- "traefik.http.routers.mail.rule=Host(`mail.${domain}`) || Host(`smtp.${domain}`)" - "traefik.http.routers.mail.rule=Host(`mail.${domain}`) || Host(`smtp.${domain}`)"
- "traefik.http.routers.mail.entrypoints=websecure"
- "traefik.http.services.mail.loadbalancer.server.port=11334"
- "traefik.docker.network=postfixNet"
# - "traefik.http.routers.webmails.rule=Host(`webmail.${domain}`)" # - "traefik.http.routers.webmails.rule=Host(`webmail.${domain}`)"
# - "traefik.http.middlewares.reg-webmails.redirectregex.regex=^https://webmail.${domain}(.*)" # - "traefik.http.middlewares.reg-webmails.redirectregex.regex=^https://webmail.${domain}(.*)"
# - "traefik.http.middlewares.reg-webmails.redirectregex.replacement=https://kaz.bzh/relever-ses-mails-chez-kaz-via-un-webmail" # - "traefik.http.middlewares.reg-webmails.redirectregex.replacement=https://kaz.bzh/relever-ses-mails-chez-kaz-via-un-webmail"
+20
View File
@@ -192,7 +192,9 @@ POSTFIX_INET_PROTOCOLS=all
# --------------------- Spamassassin section ---------------------------------------------------------------------------------- # --------------------- Spamassassin section ----------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------
# commenter pour rspam
ENABLE_SPAMASSASSIN=1 ENABLE_SPAMASSASSIN=1
# commenter pour rspam
ENABLE_AMAVIS = 1 ENABLE_AMAVIS = 1
# deliver spam messages in the inbox (eventually tagged using SA_SPAM_SUBJECT) # deliver spam messages in the inbox (eventually tagged using SA_SPAM_SUBJECT)
@@ -215,8 +217,26 @@ SPAM_SUBJECT=***SPAM*****
# KAM is a 3rd party SpamAssassin ruleset, provided by the McGrail Foundation. If SpamAssassin is enabled, KAM can be used in addition to the default ruleset. # KAM is a 3rd party SpamAssassin ruleset, provided by the McGrail Foundation. If SpamAssassin is enabled, KAM can be used in addition to the default ruleset.
# commenter pour rspam
ENABLE_SPAMASSASSIN_KAM=1 ENABLE_SPAMASSASSIN_KAM=1
# -----------------------------------------------------------------------------------------------------------------------------
# --------------------- Rspam section ----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------------------------------------------------
#ENABLE_RSPAMD=1
#RSPAMD_GREYLISTING=1
#RSPAMD_LEARN=1
#RSPAMD_HFILTER=0
#RSPAMD_HFILTER_HOSTNAME_UNKNOWN_SCORE=0
#RSPAMD_NEURAL=0
#ENABLE_OPENDKIM=0
#ENABLE_OPENDMARC=0
#ENABLE_POLICYD_SPF=0
# ----------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------
# --------------------- Fetchmail section ------------------------------------------------------------------------------------- # --------------------- Fetchmail section -------------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------------------------------------