From 9cff09f50e65426aabfc01d0db4446d35c57f771 Mon Sep 17 00:00:00 2001
From: La sif serveur <david.beniamine@tetras-libre.fr>
Date: Fri, 26 Jan 2024 00:37:54 +0100
Subject: [PATCH] Missing files

---
 docker-compose.yml                         | 8 ++++----
 docker/postfix/etc/postfix/sasl/smtpd.conf | 2 ++
 shared.yml                                 | 2 +-
 3 files changed, 7 insertions(+), 5 deletions(-)
 create mode 100644 docker/postfix/etc/postfix/sasl/smtpd.conf

diff --git a/docker-compose.yml b/docker-compose.yml
index 6d07260..a870ab9 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -30,7 +30,7 @@ services:
       TRUSTED_PROXY:
       REMOTES:
     networks:
-      - postfix
+      - postfix-test
       - default
 
   postfix:
@@ -45,7 +45,7 @@ services:
       - "./log/postfix:/var/log/postfix"
       - "spool_postfix:/var/spool/postfix"
     networks:
-      - postfix
+      - postfix-test
     environment:
       POSTFIX_VIRTUAL_DOMAINS:
       MAILNAME:
@@ -79,7 +79,7 @@ volumes:
   lib_sympa:
 
 networks:
-  postfix:
+  postfix-test:
     ipam:
       config:
-        - subnet: 10.42.0.0/16
+        - subnet: 10.45.0.0/16
diff --git a/docker/postfix/etc/postfix/sasl/smtpd.conf b/docker/postfix/etc/postfix/sasl/smtpd.conf
new file mode 100644
index 0000000..18d7308
--- /dev/null
+++ b/docker/postfix/etc/postfix/sasl/smtpd.conf
@@ -0,0 +1,2 @@
+pwcheck_method: saslauthd
+mech_list: plain login
diff --git a/shared.yml b/shared.yml
index e665647..69d2072 100644
--- a/shared.yml
+++ b/shared.yml
@@ -4,7 +4,7 @@ services:
   sympa:
     networks:
       - default
-      - postfix
+      - postfix-test
       - dolibarr_shared
 
 networks:
-- 
GitLab