From 240377c7259f26d750fafa9e3d2ecadffe0d81f2 Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Wed, 31 Jul 2024 16:13:31 +0200 Subject: [PATCH] updated unauthenticated relaying docs to add rspamd settings --- .../u_e-postfix-unauthenticated-relaying.de.md | 10 ++++++++-- .../u_e-postfix-unauthenticated-relaying.en.md | 11 +++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.de.md b/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.de.md index 35d5ce41b1..03c764b03f 100644 --- a/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.de.md +++ b/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.de.md @@ -19,6 +19,12 @@ Bearbeiten Sie `data/conf/postfix/extra.cf`: mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 [fe80::]/10 172.22.1.0/24 [fd4d:6169:6c63:6f77::]/64 192.168.2.0/24 ``` +Bearbeiten Sie zusätzlich noch `data/conf/rspamd/local.d/options.inc`: + +``` +local_addrs = [127.0.0.0/8, ::ffff:127.0.0.0/104, ::1/128, fe80::/10, 172.22.1.0/24, fd4d:6169:6c63:6f77::/64, 192.168.2.0/24]; +``` + !!! warning "Vorsicht" Die Subnetze vor unserem angehangenen Beispiel Subnetz **MÜSSEN** vor oder nach den eigens eingetragenen Werten stehen, da sonst einige mailcow Komponenten wie bspw. der Watchdog oder einige Sieve Filter (wie bspw. Abwesenheitsagenten) nicht funktionieren und Fehler beim Betriebsablauf entstehen. @@ -27,13 +33,13 @@ Führen Sie nach Ihren Änderungen folgenden Befehl aus aus, um Ihre neuen Einst === "docker compose (Plugin)" ``` bash - docker compose restart postfix-mailcow + docker compose restart postfix-mailcow rspamd-mailcow ``` === "docker-compose (Standalone)" ``` bash - docker-compose restart postfix-mailcow + docker-compose restart postfix-mailcow rspamd-mailcow ``` !!! tip "Gut zu wissen!" diff --git a/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.en.md b/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.en.md index 0118b0899d..bea08e2e24 100644 --- a/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.en.md +++ b/docs/manual-guides/Postfix/u_e-postfix-unauthenticated-relaying.en.md @@ -19,6 +19,13 @@ Edit `data/conf/postfix/extra.cf`: mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 [fe80::]/10 172.22.1.0/24 [fd4d:6169:6c63:6f77::]/64 192.168.2.0/24 ``` +Edit `data/conf/rspamd/local.d/options.inc` aswell: + +``` +local_addrs = [127.0.0.0/8, ::ffff:127.0.0.0/104, ::1/128, fe80::/10, 172.22.1.0/24, fd4d:6169:6c63:6f77::/64, 192.168.2.0/24]; +``` + + !!! warning The subnets before our attached example subnet **MUST** exists before or after your entered values. Otherwise some mailcow components such as Watchdog or some Sieve Filters (such as Absence Agents) will not work and errors will occur during operation. @@ -27,13 +34,13 @@ Run the following command to apply your new settings: === "docker compose (Plugin)" ``` bash - docker compose restart postfix-mailcow + docker compose restart postfix-mailcow rspamd-mailcow ``` === "docker-compose (Standalone)" ``` bash - docker-compose restart postfix-mailcow + docker-compose restart postfix-mailcow rspamd-mailcow ``` !!! tip "Good to know!"