Skip to content

Commit

Permalink
updated unauthenticated relaying docs to add rspamd settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DerLinkman committed Jul 31, 2024
1 parent ba122b3 commit 240377c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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!"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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!"
Expand Down

0 comments on commit 240377c

Please sign in to comment.